| 1 | # python-keystoneclient documentation build configuration file, created by |
| 2 | # sphinx-quickstart on Sun Dec 6 14:19:25 2009. |
| 3 | # |
| 4 | # This file is execfile()d with the current directory set to its containing |
| 5 | # dir. |
| 6 | # |
| 7 | # Note that not all possible configuration values are present in this |
| 8 | # autogenerated file. |
| 9 | # |
| 10 | # All configuration values have a default; values that are commented out |
| 11 | # serve to show the default. |
| 12 | |
| 13 | import os |
| 14 | import sys |
| 15 | |
| 16 | |
| 17 | sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), |
| 18 | '..', '..'))) |
| 19 | |
| 20 | # If extensions (or modules to document with autodoc) are in another directory, |
| 21 | # add these directories to sys.path here. If the directory is relative to the |
| 22 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
| 23 | #sys.path.append(os.path.abspath('.')) |
| 24 | |
| 25 | # -- General configuration ---------------------------------------------------- |
| 26 | |
| 27 | # Add any Sphinx extension module names here, as strings. They can be |
| 28 | # extensions |
| 29 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 30 | extensions = ['sphinxcontrib.apidoc', |
| 31 | 'sphinx.ext.todo', |
| 32 | 'sphinx.ext.coverage', |
| 33 | 'sphinx.ext.intersphinx', |
| 34 | 'openstackdocstheme', |
| 35 | ] |
| 36 | |
| 37 | todo_include_todos = True |
| 38 | |
| 39 | # Add any paths that contain templates here, relative to this directory. |
| 40 | # templates_path = ['_templates'] |
| 41 | |
| 42 | # The suffix of source filenames. |
| 43 | source_suffix = '.rst' |
| 44 | |
| 45 | # The encoding of source files. |
| 46 | #source_encoding = 'utf-8' |
| 47 | |
| 48 | # The master toctree document. |
| 49 | master_doc = 'index' |
| 50 | |
| 51 | # General information about the project. |
| 52 | copyright = 'OpenStack Contributors' |
| 53 | |
| 54 | # The language for content autogenerated by Sphinx. Refer to documentation |
| 55 | # for a list of supported languages. |
| 56 | #language = None |
| 57 | |
| 58 | # There are two options for replacing |today|: either, you set today to some |
| 59 | # non-false value, then it is used: |
| 60 | #today = '' |
| 61 | # Else, today_fmt is used as the format for a strftime call. |
| 62 | #today_fmt = '%B %d, %Y' |
| 63 | |
| 64 | # List of documents that shouldn't be included in the build. |
| 65 | #unused_docs = [] |
| 66 | |
| 67 | # List of directories, relative to source directory, that shouldn't be searched |
| 68 | # for source files. |
| 69 | exclude_trees = [] |
| 70 | |
| 71 | # The reST default role (used for this markup: `text`) to use for all |
| 72 | # documents. |
| 73 | #default_role = None |
| 74 | |
| 75 | # If true, '()' will be appended to :func: etc. cross-reference text. |
| 76 | add_function_parentheses = True |
| 77 | |
| 78 | # If true, the current module name will be prepended to all description |
| 79 | # unit titles (such as .. function::). |
| 80 | add_module_names = True |
| 81 | |
| 82 | # If true, sectionauthor and moduleauthor directives will be shown in the |
| 83 | # output. They are ignored by default. |
| 84 | #show_authors = False |
| 85 | |
| 86 | # The name of the Pygments (syntax highlighting) style to use. |
| 87 | pygments_style = 'native' |
| 88 | |
| 89 | # A list of ignored prefixes for module index sorting. |
| 90 | modindex_common_prefix = ['keystoneclient.'] |
| 91 | |
| 92 | # Grouping the document tree for man pages. |
| 93 | # List of tuples 'sourcefile', 'target', 'title', 'Authors name', 'manual' |
| 94 | |
| 95 | #man_pages = [] |
| 96 | |
| 97 | # -- Options for HTML output -------------------------------------------------- |
| 98 | |
| 99 | # The theme to use for HTML and HTML Help pages. Major themes that come with |
| 100 | # Sphinx are currently 'default' and 'sphinxdoc'. |
| 101 | #html_theme_path = ["."] |
| 102 | #html_theme = '_theme' |
| 103 | html_theme = 'openstackdocs' |
| 104 | |
| 105 | # Theme options are theme-specific and customize the look and feel of a theme |
| 106 | # further. For a list of options available for each theme, see the |
| 107 | # documentation. |
| 108 | #html_theme_options = {} |
| 109 | |
| 110 | # Add any paths that contain custom themes here, relative to this directory. |
| 111 | #html_theme_path = [] |
| 112 | |
| 113 | # The name for this set of Sphinx documents. If None, it defaults to |
| 114 | # "<project> v<release> documentation". |
| 115 | #html_title = None |
| 116 | |
| 117 | # A shorter title for the navigation bar. Default is the same as html_title. |
| 118 | #html_short_title = None |
| 119 | |
| 120 | # The name of an image file (relative to this directory) to place at the top |
| 121 | # of the sidebar. |
| 122 | #html_logo = None |
| 123 | |
| 124 | # The name of an image file (within the static path) to use as favicon of the |
| 125 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
| 126 | # pixels large. |
| 127 | #html_favicon = None |
| 128 | |
| 129 | # Add any paths that contain custom static files (such as style sheets) here, |
| 130 | # relative to this directory. They are copied after the builtin static files, |
| 131 | # so a file named "default.css" will overwrite the builtin "default.css". |
| 132 | #html_static_path = ['static'] |
| 133 | |
| 134 | # If true, SmartyPants will be used to convert quotes and dashes to |
| 135 | # typographically correct entities. |
| 136 | #html_use_smartypants = True |
| 137 | |
| 138 | # Custom sidebar templates, maps document names to template names. |
| 139 | #html_sidebars = {} |
| 140 | |
| 141 | # Additional templates that should be rendered to pages, maps page names to |
| 142 | # template names. |
| 143 | #html_additional_pages = {} |
| 144 | |
| 145 | # If false, no module index is generated. |
| 146 | #html_use_modindex = True |
| 147 | |
| 148 | # If false, no index is generated. |
| 149 | #html_use_index = True |
| 150 | |
| 151 | # If true, the index is split into individual pages for each letter. |
| 152 | #html_split_index = False |
| 153 | |
| 154 | # If true, links to the reST sources are added to the pages. |
| 155 | #html_show_sourcelink = True |
| 156 | |
| 157 | # If true, an OpenSearch description file will be output, and all pages will |
| 158 | # contain a <link> tag referring to it. The value of this option must be the |
| 159 | # base URL from which the finished HTML is served. |
| 160 | #html_use_opensearch = '' |
| 161 | |
| 162 | # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). |
| 163 | #html_file_suffix = '' |
| 164 | |
| 165 | # Output file base name for HTML help builder. |
| 166 | htmlhelp_basename = 'python-keystoneclientdoc' |
| 167 | |
| 168 | # -- sphinxcontrib.apidoc configuration -------------------------------------- |
| 169 | |
| 170 | apidoc_module_dir = '../../keystoneclient' |
| 171 | apidoc_output_dir = 'api' |
| 172 | apidoc_excluded_paths = [ |
| 173 | 'fixture', |
| 174 | 'tests', |
| 175 | ] |
| 176 | |
| 177 | # -- Options for LaTeX output ------------------------------------------------- |
| 178 | |
| 179 | # The paper size ('letter' or 'a4'). |
| 180 | #latex_paper_size = 'letter' |
| 181 | |
| 182 | # The font size ('10pt', '11pt' or '12pt'). |
| 183 | #latex_font_size = '10pt' |
| 184 | |
| 185 | # Grouping the document tree into LaTeX files. List of tuples |
| 186 | # (source start file, target name, title, author, documentclass [howto/manual]) |
| 187 | # . |
| 188 | latex_documents = [ |
| 189 | ('index', 'doc-python-keystoneclient.tex', |
| 190 | 'python-keystoneclient Documentation', |
| 191 | 'OpenStack', 'manual'), |
| 192 | ] |
| 193 | |
| 194 | # The name of an image file (relative to this directory) to place at the top of |
| 195 | # the title page. |
| 196 | #latex_logo = None |
| 197 | |
| 198 | # For "manual" documents, if this is true, then toplevel headings are parts, |
| 199 | # not chapters. |
| 200 | #latex_use_parts = False |
| 201 | |
| 202 | # Additional stuff for the LaTeX preamble. |
| 203 | #latex_preamble = '' |
| 204 | |
| 205 | # Documents to append as an appendix to all manuals. |
| 206 | #latex_appendices = [] |
| 207 | |
| 208 | # If false, no module index is generated. |
| 209 | #latex_use_modindex = True |
| 210 | |
| 211 | # Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664 |
| 212 | latex_use_xindy = False |
| 213 | |
| 214 | latex_domain_indices = False |
| 215 | |
| 216 | latex_elements = { |
| 217 | 'makeindex': '', |
| 218 | 'printindex': '', |
| 219 | 'preamble': r'\setcounter{tocdepth}{3}', |
| 220 | 'maxlistdepth': 10, |
| 221 | } |
| 222 | |
| 223 | keystoneauth_url = 'https://docs.openstack.org/keystoneauth/latest/' |
| 224 | intersphinx_mapping = { |
| 225 | 'python': ('https://docs.python.org/', None), |
| 226 | 'osloconfig': ('https://docs.openstack.org/oslo.config/latest/', None), |
| 227 | 'keystoneauth1': (keystoneauth_url, None), |
| 228 | } |
| 229 | |
| 230 | # -- Options for openstackdocstheme ------------------------------------------- |
| 231 | openstackdocs_repo_name = 'openstack/python-keystoneclient' |
| 232 | openstackdocs_bug_project = 'python-keystoneclient' |
| 233 | openstackdocs_bug_tag = '' |
| 234 | openstackdocs_pdf_link = True |