Add i18n_docs fabfile task
parent
4be9e0d2cf
commit
108c456c5d
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue