This repository contains source files for ODM User Guide documentation
generated and hosted by ReadTheDocs
(see source/
subdirectory).
Source files are in reStructuredText format, slightly similar to Markdown, but still quite different. If you are not familiar with it, a good place to start is reStructuredText Primer. Files in that format could be edited with any competent text editor and also online here at Github.
To update documentation, one should be familiar with basic git and Github concepts and workflows. ReadTheDocs automatically builds two versions of documentation:
- default one (AKA "latest") is built from master branch
- "development" version is built from development branch
To make minor changes (fix a typo, update a link or an image, reword a sentence), the following workflow is suggested:
- Make the changes directly in development branches (in Github web editor or in your local clone) and commit them.
- Wait for about 5 min for ReadTheDocs to build and deploy updated development version.
- Check that result is as expected.
- Merge changes from development to master branch.
If planned changes are major or require review before being merged, create a new branch off development and merge it to development with Github PR. Then proceed as per pp. 2–4.
"ODM User Guide" project at ReadTheDocs could be configured there, but this is Genestack admins' area of responsibility.
Install required tools and dependencies:
python3 -m pip install Sphinx sphinx-rtd-theme
Generate documentation:
make html
Open in browser:
open _build/html/index.html