Add i18n_docs fabfile task

refactor-builder
Eric Holscher 2014-03-01 22:01:36 +08:00
parent 4be9e0d2cf
commit 108c456c5d
1 changed files with 8 additions and 0 deletions

8
fabfile.py vendored
View File

@ -75,6 +75,14 @@ def i18n():
local('tx push -s')
local('./manage.py compilemessages')
@hosts(['localhost'])
def i18n_docs():
with lcd('docs'):
local('tx pull')
local('make gettext')
local('tx push -s')
local('sphinx-intl build')
def push():
"Push new code, but don't restart/reload."