parrot-wtf/BUILD.md

747 B

Build

Build docs thusly:

make

Version

Version thusly:

vim CHANGELOG.txt
vim docs/source/conf.py
# git commit -m"v0.0.0" CHANGELOG.txt docs/source/conf.py
# git tag v0.0.0
# git push
# git push --tags

Sync

Sync to server thusly:

./parrot-wtf-sync

Intl

Perhaps:

rm -rf docs/build/
sphinx-build -b gettext -c docs/source -d docs/build/doctrees docs/source docs/locale/gettext
sphinx-intl update -p docs/locale/gettext -d docs/locale -l en
sphinx-intl update -p docs/locale/gettext -d docs/locale -l es
rm -rf docs/build/
sphinx-build -b html -d docs/build/doctrees -D language=en docs/source docs/build/html/en
sphinx-build -b html -d docs/build/doctrees -D language=es docs/source docs/build/html/es