diff --git a/doc/source/conf.py b/doc/source/conf.py index dc5cffae..a7531ac4 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -12,10 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import os -import sys - -sys.path.insert(0, os.path.abspath('../..')) # -- General configuration ---------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be @@ -26,10 +22,6 @@ extensions = [ 'reno.sphinxext', ] -# autodoc generation is a bit aggressive and a nuisance when doing heavy -# text edit cycles. -# execute "export SPHINX_DEBUG=1" in your terminal to disable - # The suffix of source filenames. source_suffix = '.rst' @@ -49,27 +41,3 @@ add_module_names = True # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' - -# -- Options for HTML output -------------------------------------------------- - -# The theme to use for HTML and HTML Help pages. Major themes that come with -# Sphinx are currently 'default' and 'sphinxdoc'. -# html_theme_path = ["."] -# html_theme = '_theme' -# html_static_path = ['static'] - -# Output file base name for HTML help builder. -htmlhelp_basename = '%sdoc' % project - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, author, documentclass -# [howto/manual]). -latex_documents = [ - ('index', - '%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), -] - -# Example configuration for intersphinx: refer to the Python standard library. -#intersphinx_mapping = {'http://docs.python.org/': None} diff --git a/setup.cfg b/setup.cfg index 745b8e3d..e4070366 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,6 +33,7 @@ tag_date = 0 tag_svn_revision = 0 [build_sphinx] +builders = html all-files = 1 warning-is-error = 1 source-dir = doc/source