diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-01-13 12:17:46 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-01-21 16:15:30 -0800 |
commit | ccb7a6c2cd22689d363a03da2c7a2bcf4e27a0c8 (patch) | |
tree | adc45f9bb09a5a9fe28ba9d02a35e956e0ef1e20 /tasks.py | |
parent | 7d56ecb1a7d1654ae971e9896aa26e938454d3ea (diff) |
Start fleshing out two-site setup
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -6,15 +6,15 @@ from invocations import docs, testing api = Collection.from_module(docs) # TODO: maybe allow rolling configuration into it too heh api.configure({ - 'sphinx.source': 'api', - 'sphinx.target': 'api/_build', + 'sphinx.source': 'sites/docs', + 'sphinx.target': 'sites/docs/_build', }) -api.name = 'api' -site = Collection.from_module(docs) -site.name = 'site' -site.configure({ - 'sphinx.source': 'site', - 'sphinx.target': 'site/_build', +api.name = 'docs' +main = Collection.from_module(docs) +main.name = 'main' +main.configure({ + 'sphinx.source': 'sites/main', + 'sphinx.target': 'sites/main/_build', }) -ns = Collection(testing.test, api=api, site=site) +ns = Collection(testing.test, docs=api, main=main) |