Fix modindex link

Currently, module index is not generated, this patch
enables the link modindex link present here
https://github.com/openstack/valence/blob/master/doc/source/index.rst

Change-Id: Ifa2eee4611afdfd14bc0af5e53716e1e881516f9
This commit is contained in:
Anusha Ramineni 2017-01-30 17:05:24 +05:30
parent 1706b3cff5
commit bcd7033b61
2 changed files with 8 additions and 1 deletions

View File

@ -58,6 +58,9 @@ pygments_style = 'sphinx'
# html_theme = '_theme'
# html_static_path = ['static']
# A list of ignored prefixes for module index sorting.
modindex_common_prefix = ['valence.']
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project

View File

@ -23,6 +23,10 @@ classifier =
packages =
valence
[pbr]
autodoc_index_modules = True
warnerrors = True
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
@ -53,4 +57,4 @@ source-dir = releasenotes/source
[entry_points]
console_scripts =
valence = valence.cmd.api:main
db_manager = valence.cmd.db_manager:main
db_manager = valence.cmd.db_manager:main