The active repository for the documentation website is https://github.com/deepstreamIO/deepstreamIO.github.io
The up-to-date version of the documentation can be found at https://deepstreamio.github.io/
- Go to the document you want to edit on deepstream.io (click on the github icon on each page)
- Edit the file
- Commit
- git clone
- npm i
- npm run develop
- Edit as you see fit
- Commit
- Raise PR
A quick look at the top-level files and directories you should care about:
.
├── content
├── code-examples
├── markdown-templates
└──src
-
/content
: This directory contains all the content markdown content on the website and is organized into the different routes on the application. Adding a document in most cases will automatically add it to the index pages and the navigation menus. -
/code-examples
: This directory contains all the example code in the application (mostly guides and plugins). It's useful to have them live here due to prettify and typescript validation. -
/markdown-templates
: This directory contains all the snippets reused across the website (to the horror of search engines). Use and add to these sparingly. -
/src
: This directory contains all the react components and styles to render the page. If you feel a component can be displayed better this is the place to be!
Website automatically gets deployed from master to https://deepstream.io and from staging to https://staging.deepstream.io