Skip to content

Commit

Permalink
Merge "Use oslo.sphinx and remove local copy of doc theme"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Aug 2, 2013
2 parents 90d4640 + ad58c0f commit ed1f967
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 98 deletions.
Empty file removed doc/source/_templates/.placeholder
Empty file.
83 changes: 0 additions & 83 deletions doc/source/_theme/layout.html

This file was deleted.

4 changes: 0 additions & 4 deletions doc/source/_theme/theme.conf

This file was deleted.

20 changes: 9 additions & 11 deletions doc/source/conf.py
Expand Up @@ -28,21 +28,19 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
#extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
# 'sphinx.ext.todo', 'sphinx.ext.coverage']
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.todo',
# 'sphinx.ect.intersphinx',
'sphinx.ext.coverage']
'sphinx.ext.coverage',
'oslo.sphinx',
]

todo_include_todos = True

# Add any paths that contain templates here, relative to this directory.
templates_path = []
if os.getenv('HUDSON_PUBLISH_DOCS'):
templates_path = ['_ga', '_templates']
else:
templates_path = ['_templates']
# if os.getenv('HUDSON_PUBLISH_DOCS'):
# templates_path = ['_ga', '_templates']
# else:
# templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.rst'
Expand Down Expand Up @@ -109,8 +107,8 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme_path = ["."]
html_theme = '_theme'
# html_theme_path = ["."]
# html_theme = '_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
3 changes: 3 additions & 0 deletions test-requirements.txt
Expand Up @@ -44,3 +44,6 @@ netifaces

# For translations processing
Babel

# For documentation
oslo.sphinx

0 comments on commit ed1f967

Please sign in to comment.