2014-01-10 22:26:04 -05:00
|
|
|
from invoke import Collection
|
|
|
|
from invocations import docs, testing
|
|
|
|
|
2014-01-10 23:07:43 -05:00
|
|
|
|
2014-01-13 19:16:30 -05:00
|
|
|
# Usage doc/API site
|
|
|
|
api = Collection.from_module(docs, name='docs', config={
|
2014-01-13 15:17:46 -05:00
|
|
|
'sphinx.source': 'sites/docs',
|
|
|
|
'sphinx.target': 'sites/docs/_build',
|
2014-01-10 22:26:04 -05:00
|
|
|
})
|
2014-01-13 19:16:30 -05:00
|
|
|
# Main/about/changelog site
|
|
|
|
main = Collection.from_module(docs, name='main', config={
|
2014-01-13 15:17:46 -05:00
|
|
|
'sphinx.source': 'sites/main',
|
|
|
|
'sphinx.target': 'sites/main/_build',
|
2014-01-10 22:26:04 -05:00
|
|
|
})
|
|
|
|
|
2014-01-13 15:17:46 -05:00
|
|
|
ns = Collection(testing.test, docs=api, main=main)
|