From 108c456c5d32d9095d98eae2772fb9716b5a74ec Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Sat, 1 Mar 2014 22:01:36 +0800 Subject: [PATCH] Add i18n_docs fabfile task --- fabfile.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fabfile.py b/fabfile.py index b1b1bf54a..12ce01b06 100644 --- a/fabfile.py +++ b/fabfile.py @@ -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."