Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ name: Docs
on:
push:
branches:
- master
- main
paths:
- docs/**
pull_request:
branches:
- master
- main
paths:
- docs/**
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: Test
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ShareDB

[![NPM Version](https://img.shields.io/npm/v/sharedb.svg)](https://npmjs.org/package/sharedb)
![Test](https://github.com/share/sharedb/workflows/Test/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/share/sharedb/badge.svg?branch=master)](https://coveralls.io/github/share/sharedb?branch=master)
![Test](https://github.com/share/sharedb/actions/workflows/test.yml/badge.svg?branch=main)
[![Coverage Status](https://coveralls.io/repos/github/share/sharedb/badge.svg?branch=main)](https://coveralls.io/github/share/sharedb?branch=main)

ShareDB is a realtime database backend based on [Operational Transformation
(OT)](https://en.wikipedia.org/wiki/Operational_transformation) of JSON
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ aux_links:
gh_edit_link: true # show or hide edit this page link
gh_edit_link_text: "Edit this page on GitHub"
gh_edit_repository: "https://github.com/share/sharedb" # the github URL for your repo
gh_edit_branch: "master" # the branch that your docs is served from
gh_edit_branch: "main" # the branch that your docs is served from
gh_edit_source: "docs" # the source that your files originate from
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately

Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You may also wish to install other [OT types]({{ site.baseurl }}{% link types/in

## Examples

There are [working examples](https://github.com/share/sharedb/tree/master/examples) in the git repository.
There are [working examples](https://github.com/share/sharedb/tree/main/examples) in the git repository.

## Usage

Expand Down Expand Up @@ -65,7 +65,7 @@ This server will accept any WebSocket connection on port 8080, and bind it to Sh

This client example uses [`reconnecting-websocket`](https://www.npmjs.com/package/reconnecting-websocket) to reconnect clients after a socket is closed.

Try running the [working example](https://github.com/share/sharedb/tree/master/examples/counter) to see this in action.
Try running the [working example](https://github.com/share/sharedb/tree/main/examples/counter) to see this in action.

```js
var ReconnectingWebSocket = require('reconnecting-websocket')
Expand Down
Loading