Add docs action for tox.ini

Change-Id: If106771048d999de0b3f82dbd143ece1bbebf738
This commit is contained in:
Jeffrey Zhang 2016-11-11 12:29:01 +08:00
parent 8fcfb6473a
commit 1b39482000
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@ commands = nodeenv -p
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:docs]
commands =
rm -rf doc/build
python setup.py build_sphinx
[testenv:makemessages]
commands =
pybabel extract -F babel-django.cfg -o muranodashboard/locale/django.pot -k gettext_noop -k gettext_lazy -k ngettext_lazy:1,2 -k ugettext_noop -k ugettext_lazy -k ungettext_lazy:1,2 -k npgettext:1c,2,3 -k pgettext_lazy:1c,2 -k npgettext_lazy:1c,2,3 muranodashboard