diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-01-10 19:26:04 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-01-21 16:14:26 -0800 |
commit | c74ff2a16e47bdf31f8ad17bbfbe2da5d03803c6 (patch) | |
tree | 59b1240b3328640776448a4f717f6bb51fd91d15 /site/tasks.py | |
parent | 5c5bf6e844d63a14f586d9166c536ab0978b684b (diff) |
Import paramiko.org repository @ 3ac370054ef10fb060fe75fff25fe3a70ecc02c0
Diffstat (limited to 'site/tasks.py')
-rw-r--r-- | site/tasks.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/site/tasks.py b/site/tasks.py new file mode 100644 index 00000000..e2d952b1 --- /dev/null +++ b/site/tasks.py @@ -0,0 +1,19 @@ +from invoke import Collection +from invocations import docs, testing + +# TODO: let from_module specify new name +api = Collection.from_module(docs) +# TODO: maybe allow rolling configuration into it too heh +api.configure({ + 'sphinx.source': 'api', + 'sphinx.target': 'api/_build', +}) +api.name = 'api' +site = Collection.from_module(docs) +site.name = 'site' +site.configure({ + 'sphinx.source': 'site', + 'sphinx.target': 'site/_build', +}) + +ns = Collection(testing.test, api=api, site=site) |