diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-01-30 10:40:35 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-01-30 10:40:35 -0800 |
commit | 8cc9ae059ffa6e484d24149ff7508555bfaed1b6 (patch) | |
tree | d9c8dde5cfb2537e83ffedad1e3490608c9943b2 /tasks.py | |
parent | 935c55dd1f596f97bd8c3d76dd8abfe9cffaa8b0 (diff) | |
parent | a83f0d3038e8d16e7c160293d16c2736645564d6 (diff) |
Merge branch '1.11' into 1.12
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tasks.py b/tasks.py new file mode 100644 index 00000000..c7164158 --- /dev/null +++ b/tasks.py @@ -0,0 +1,23 @@ +from os.path import join + +from invoke import Collection +from invocations import docs as _docs, testing + + +d = 'sites' + +# Usage doc/API site (published as docs.paramiko.org) +path = join(d, 'docs') +docs = Collection.from_module(_docs, name='docs', config={ + 'sphinx.source': path, + 'sphinx.target': join(path, '_build'), +}) + +# Main/about/changelog site ((www.)?paramiko.org) +path = join(d, 'www') +www = Collection.from_module(_docs, name='www', config={ + 'sphinx.source': path, + 'sphinx.target': join(path, '_build'), +}) + +ns = Collection(testing.test, docs=docs, www=www) |