| 1 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 2 | # not use this file except in compliance with the License. You may obtain |
| 3 | # a copy of the License at |
| 4 | # |
| 5 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | # |
| 7 | # Unless required by applicable law or agreed to in writing, software |
| 8 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 9 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 10 | # License for the specific language governing permissions and limitations |
| 11 | # under the License. |
| 12 | # |
| 13 | # cyborg documentation build configuration file, created by |
| 14 | # sphinx-quickstart on Sat May 1 15:17:47 2010. |
| 15 | # |
| 16 | # This file is execfile()d with the current directory set to |
| 17 | # its containing dir. |
| 18 | # |
| 19 | # Note that not all possible configuration values are present in this |
| 20 | # autogenerated file. |
| 21 | # |
| 22 | # All configuration values have a default; values that are commented out |
| 23 | # serve to show the default. |
| 24 | |
| 25 | extensions = [ |
| 26 | 'openstackdocstheme', |
| 27 | 'os_api_ref', |
| 28 | ] |
| 29 | |
| 30 | # -- General configuration ------------------------------------------------ |
| 31 | |
| 32 | # Add any Sphinx extension module names here, as strings. They can be |
| 33 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 34 | |
| 35 | # The suffix of source filenames. |
| 36 | source_suffix = '.rst' |
| 37 | |
| 38 | # The master toctree document. |
| 39 | master_doc = 'index' |
| 40 | |
| 41 | # General information about the project. |
| 42 | copyright = '2016-present, OpenStack Foundation' |
| 43 | |
| 44 | # openstackdocstheme options |
| 45 | openstackdocs_repo_name = 'openstack/cyborg' |
| 46 | openstackdocs_bug_project = 'cyborg' |
| 47 | openstackdocs_bug_tag = 'api-ref' |
| 48 | |
| 49 | # The name of the Pygments (syntax highlighting) style to use. |
| 50 | pygments_style = 'native' |
| 51 | |
| 52 | # -- Options for HTML output ------------------------------------------------- |
| 53 | |
| 54 | # The theme to use for HTML and HTML Help pages. Major themes that come with |
| 55 | # Sphinx are currently 'default' and 'sphinxdoc'. |
| 56 | html_theme = 'openstackdocs' |
| 57 | |
| 58 | # Theme options are theme-specific and customize the look and feel of a theme |
| 59 | # further. For a list of options available for each theme, see the |
| 60 | # documentation. |
| 61 | html_theme_options = { |
| 62 | "sidebar_mode": "toc", |
| 63 | } |
| 64 | |
| 65 | # -- Options for LaTeX output ------------------------------------------------ |
| 66 | |
| 67 | # Grouping the document tree into LaTeX files. List of tuples |
| 68 | # (source start file, target name, title, author, documentclass |
| 69 | # [howto/manual]). |
| 70 | latex_documents = [ |
| 71 | ( |
| 72 | 'index', |
| 73 | 'Cyborg.tex', |
| 74 | 'OpenStack Acceleration API Documentation', |
| 75 | 'OpenStack Foundation', |
| 76 | 'manual', |
| 77 | ), |
| 78 | ] |