diff options
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r-- | doc/source/conf.py | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 9e8aaff..4c39b3a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -42,6 +42,7 @@ extensions = ['sphinx.ext.todo', 'openstackdocstheme', 'oslo_config.sphinxconfiggen', 'sphinxcontrib.apidoc', + 'sphinxcontrib.rsvgconverter', ] # sphinxcontrib.apidoc options @@ -71,18 +72,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = 'keystonemiddleware' copyright = 'OpenStack Contributors' -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -version_info = pbr.version.VersionInfo('keystonemiddleware') -# The short X.Y version. -version = version_info.version_string() -# The full version, including alpha/beta/rc tags. -release = version_info.release_string() - # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None @@ -116,7 +107,7 @@ add_module_names = True #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['keystonemiddleware.'] @@ -161,11 +152,7 @@ html_theme = 'openstackdocs' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -html_last_updated_fmt = '%Y-%m-%d %H:%M' +#html_static_path = ['_static'] # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. @@ -214,12 +201,24 @@ htmlhelp_basename = 'keystonemiddlewaredoc' # (source start file, target name, title, author, documentclass [howto/manual]) # . latex_documents = [ - ('index', 'keystonmiddleware.tex', - 'keystonemiddleware Documentation', - 'Nebula Inc, based on work by Rackspace and Jacob Kaplan-Moss', + ('index', 'doc-keystonemiddleware.tex', + u'keystonemiddleware Documentation', + u'Openstack Developers', 'manual'), ] +# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664 +latex_use_xindy = False + +latex_domain_indices = False + +latex_elements = { + 'extraclassoptions': 'openany', + 'makeindex': '', + 'printindex': '', + 'preamble': r'\setcounter{tocdepth}{3}', + 'maxlistdepth': 10, +} # The name of an image file (relative to this directory) to place at the top of # the title page. #latex_logo = None @@ -243,6 +242,7 @@ intersphinx_mapping = {'keystoneclient': (keystoneclient, None), } # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/keystonemiddleware' -bug_project = 'keystonemiddleware' -bug_tag = '' +openstackdocs_repo_name = 'openstack/keystonemiddleware' +openstackdocs_bug_project = 'keystonemiddleware' +openstackdocs_bug_tag = '' +openstackdocs_pdf_link = True |