diff options
| author | Todd Willey <todd@ansolabs.com> | 2010-11-01 14:13:58 -0400 |
|---|---|---|
| committer | Todd Willey <todd@ansolabs.com> | 2010-11-01 14:13:58 -0400 |
| commit | b76286c5ef2b2182cb0c2cc42b31971656e8f70f (patch) | |
| tree | 8141344278733882ddd57f9b0f5dfb1991860651 /doc/source | |
| parent | bf15a6eb3de8c688dc1364959dd3e00d3e26a563 (diff) | |
| parent | ab1c34f71745b901f40fd6a72dffc7a29a864990 (diff) | |
| download | nova-b76286c5ef2b2182cb0c2cc42b31971656e8f70f.tar.gz nova-b76286c5ef2b2182cb0c2cc42b31971656e8f70f.tar.xz nova-b76286c5ef2b2182cb0c2cc42b31971656e8f70f.zip | |
Merge trunk and apply some sphinx love.
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/_ga/layout.html (renamed from doc/source/_templates/layout.html) | 0 | ||||
| -rw-r--r-- | doc/source/_templates/.DS_Store | bin | 0 -> 6148 bytes | |||
| -rw-r--r-- | doc/source/conf.py | 8 |
3 files changed, 7 insertions, 1 deletions
diff --git a/doc/source/_templates/layout.html b/doc/source/_ga/layout.html index 0b72a77ac..0b72a77ac 100644 --- a/doc/source/_templates/layout.html +++ b/doc/source/_ga/layout.html diff --git a/doc/source/_templates/.DS_Store b/doc/source/_templates/.DS_Store Binary files differnew file mode 100644 index 000000000..5008ddfcf --- /dev/null +++ b/doc/source/_templates/.DS_Store diff --git a/doc/source/conf.py b/doc/source/conf.py index e91860536..27bc4ea6c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -27,7 +27,13 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', todo_include_todos = True # Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] +# Changing the path so that the Hudson build output contains GA code and the source +# docs do not contain the code so local, offline sphinx builds are "clean." +templates_path = [] +if os.getenv('HUDSON_PUBLISH_DOCS'): + templates_path = ['_ga', '_templates'] +else: + templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' |
