The documentation is written using reStructuredText as markup language, and compiled to HTML using Sphinx.
To build the documentation, you need to be able to run Python code in your machine. We recommend to use virtualenvwrapper to handle virtual envs with Python, and we are going to asume you have installed it.
You only have to do this once:
$ mkvirtualenv 10darts-documentation
(10darts-documentation) $ pip install -r requirements.txtFirst, activate the virtualenv:
$ workon 10darts-documentationExtract document’s translatable messages into pot files:
(10darts-documentation) $ make gettextSetup/update locale:
(10darts-documentation) $ sphinx-intl update -p _build/gettext -l es -l enBuild mo files and make translated document:
(10darts-documentation) $ sphinx-intl build
(10darts-documentation) $ make -e SPHINXOPTS="-D language='en'" htmlTo create the HTML version of the documentation, run these commands:
$ workon 10darts-documentation
(10darts-documentation) $ make htmlAfter commit and push run the following command:
$ workon 10darts-documentation
(10darts-documentation) $ ./deploy.sh