Changes conf.py for Sphinx build because oslosphinx now contains GA

- Changes api to API to force build of all source files.
- Ensures tracking is consistent across all openstack.org web properties.
- Tracks only docs.openstack.org/developer/{{ project }} where
project name is taken from conf.py.
- Removes ability to build local without GA. If you have ideas
for how to build local without GA, please patch.

Change-Id: Ibb61e5c1668e6a0782daf91d4faf0950c5bf77d7
Partial-bug: 1441315
This commit is contained in:
Anne Gentle
2015-04-09 12:40:04 -05:00
parent faa1a616fc
commit c193f151e2
2 changed files with 2 additions and 11 deletions

View File

@@ -39,16 +39,6 @@ extensions = ['sphinx.ext.autodoc',
todo_include_todos = True
# Add any paths that contain templates here, relative to this directory.
# 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'

View File

@@ -33,7 +33,8 @@ any specific prior release.
.. _`docs.openstack.org`: https://docs.openstack.org
Compute API References
=======================
======================
* `v2.1 (CURRENT)`_
* `v2 (SUPPORTED)`_ and `v2 extensions (SUPPORTED)`_ (Will be deprecated in