diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-01-10 20:07:43 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-01-21 16:15:30 -0800 |
commit | 7d56ecb1a7d1654ae971e9896aa26e938454d3ea (patch) | |
tree | c85fd04be05e28cd0c06a4bc600b79256b77a22e /tasks.py | |
parent | c74ff2a16e47bdf31f8ad17bbfbe2da5d03803c6 (diff) | |
download | paramiko-7d56ecb1a7d1654ae971e9896aa26e938454d3ea.tar.gz |
Meta prep work (reqs.txt, tasks.py)
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tasks.py b/tasks.py new file mode 100644 index 00000000..d470dab0 --- /dev/null +++ b/tasks.py @@ -0,0 +1,20 @@ +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) |