from fusionbox.fabric_helpers import *

env.roledefs = {
        'dev': ['dev.fusionbox.com'],
        }

env.project_name = 'django-widgy'
env.short_name = 'widgy'
env.tld = ''

stage = roles('dev')(stage)

@@ -176,32 +176,347 @@
 ''%0A%0A
-stage = roles('dev')(stage
+%0Adef stage_with_docs(pip=False, migrate=False, syncdb=False, branch=None):%0A    stage(pip=pip, migrate=migrate, syncdb=syncdb, branch=branch)%0A    with cd('/var/www/%25s%25s/doc' %25 (env.project_name, env.tld)):%0A        with virtualenv(env.short_name):%0A            run(%22make html%22)%0A%0Astage = roles('dev')(stage)%0Adstage = roles('dev')(stage_with_docs
 )%0A

add dstage to fabfile