summaryrefslogtreecommitdiffhomepage
path: root/tasks.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-01-29 14:38:58 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-01-29 14:38:58 -0800
commitc636b273daf657eb05041ce2528959910e7db162 (patch)
treeca4ce0e03286b5d6c9fbcac8d9db6d4e2d5bf1ef /tasks.py
parent473a9cdf5b22c8bbc4d4e95d419c8bd153f05e21 (diff)
parentb8d1724f5714c27ad02ae013e87f5531aec041ea (diff)
Merge branch '1.10' into 1.11
Conflicts: dev-requirements.txt tox.ini
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py23
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)