MkDocs is used to generate the documentation at http://opennmt.net/OpenNMT/.
If you want to visualize and deploy the documentation, continue reading the next sections.
pip install mkdocs mkdocs-material python-markdown-math
- Edit the Markdown documentation in
docs/
- Visualize the documentation locally with
mkdocs serve
- Commit your documentation changes
- Generate and deploy the static website on the
gh-pages
branch withmkdocs gh-deploy
(if you are testing on a fork, don't forget to configure the remote with the-r
option)
Update the main configuration file mkdocs.yml
.
./docs/options/generate.sh