| 1 | # Copyright (C) 2020 Red Hat, Inc. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 4 | # not use this file except in compliance with the License. You may obtain |
| 5 | # a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 | # License for the specific language governing permissions and limitations |
| 13 | # under the License. |
| 14 | # |
| 15 | # Configuration file for the Sphinx documentation builder. |
| 16 | # |
| 17 | # This file does only contain a selection of the most common options. For a |
| 18 | # full list see the documentation: |
| 19 | # http://www.sphinx-doc.org/en/master/config |
| 20 | |
| 21 | import os |
| 22 | import sys |
| 23 | |
| 24 | sys.path.insert(0, os.path.abspath('../..')) |
| 25 | |
| 26 | |
| 27 | # -- Project information ----------------------------------------------------- |
| 28 | |
| 29 | # General information about the project. |
| 30 | copyright = '2018, Oslo Contributors' |
| 31 | |
| 32 | |
| 33 | # -- General configuration ---------------------------------------------------- |
| 34 | |
| 35 | # Add any Sphinx extension module names here, as strings. They can be |
| 36 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 37 | extensions = ['sphinx.ext.autodoc', 'openstackdocstheme'] |
| 38 | |
| 39 | # The master toctree document. |
| 40 | master_doc = 'index' |
| 41 | |
| 42 | # The name of the Pygments (syntax highlighting) style to use. |
| 43 | pygments_style = 'sphinx' |
| 44 | |
| 45 | |
| 46 | # -- Options for HTML output -------------------------------------------------- |
| 47 | |
| 48 | # The theme to use for HTML and HTML Help pages. Major themes that come with |
| 49 | # Sphinx are currently 'default' and 'sphinxdoc'. |
| 50 | html_theme = 'openstackdocs' |
| 51 | |
| 52 | |
| 53 | # -- Options for openstackdocstheme ------------------------------------------- |
| 54 | |
| 55 | openstackdocs_repo_name = 'openstack/oslo.upgradecheck' |
| 56 | openstackdocs_bug_project = 'oslo.upgradecheck' |
| 57 | openstackdocs_bug_tag = '' |