From c8096c614802b110dc268567909dbe869063c7a1 Mon Sep 17 00:00:00 2001 From: David TARDIVEL Date: Fri, 15 Jan 2016 14:43:22 +0100 Subject: [PATCH] Fix 'Module index' broken HTTP link 'Module Index' link points to HTML doc generated from source/api RST files. These RST files are generated by pbr, by setting the parameter 'autodoc_index_modules' to True. Partial-Bug: #1535244 Change-Id: Ifceb5a140599d3968ea3d353b12c0bbe99d955e6 --- .gitignore | 1 + doc/source/dev/plugins.rst | 2 ++ doc/source/glossary.rst | 7 ------- doc/source/index.rst | 9 +++++++++ setup.cfg | 10 ++++++++++ tox.ini | 2 ++ watcher/common/ceilometer.py | 12 ++++++------ watcher/common/nova.py | 14 +++++++------- watcher/decision_engine/planner/base.py | 4 ++-- watcher/decision_engine/solution/base.py | 10 +++++----- 10 files changed, 44 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 20cc9750b..a55d9e254 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,7 @@ output/*/index.html # Sphinx doc/build +doc/source/api # pbr generates these AUTHORS diff --git a/doc/source/dev/plugins.rst b/doc/source/dev/plugins.rst index 9d7b3f5b5..ad82dcd95 100644 --- a/doc/source/dev/plugins.rst +++ b/doc/source/dev/plugins.rst @@ -75,6 +75,7 @@ should implement: .. autoclass:: BaseStrategy :members: + :noindex: Add a new entry point @@ -169,6 +170,7 @@ Here below is the abstract ``BaseClusterHistory`` class of the Helper. .. autoclass:: BaseClusterHistory :members: + :noindex: The following snippet code shows how to create a Cluster History class: diff --git a/doc/source/glossary.rst b/doc/source/glossary.rst index c0b9532c3..e037e856c 100644 --- a/doc/source/glossary.rst +++ b/doc/source/glossary.rst @@ -264,13 +264,6 @@ Please, read `the official OpenStack definition of a Project