tor.ea
repository contains documentation for propertyLease procedure.
Documentation can be found here https://sgc.tor.ea2.openprocurement.io/uk/latest/
Use the following commands to build documentation from docs/source
into docs/html
:
python bootstrap.py -c docs.cfg
bin/buildout -N -c docs.cfg
bin/docs
To have the documentation translated into 2 letter ISO language code, you have to follow the scenario below:
- Pull all the translatable strings out of the documentation:
(cd docs/_build; make gettext)
- Update translation with new/changed strings::
bin/sphinx-intl update -c docs/source/conf.py -p docs/_build/locale -l <lang>
-
Update updated/missing strings in
docs/source/locale/<lang>/LC_MESSAGES/*.po
with your-favorite-editor/poedit/transifex/pootle/etc. to have all translations complete/updated. -
Compile the translation:
bin/sphinx-intl build -c docs/source/conf.py
- Build translated documentation(s):
(cd docs/_build; make -e SPHINXOPTS="-D language='uk'" html)