Пример #1
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Ironic API Reference'
copyright = u'OpenStack Foundation'

# 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.
#
from ironic.version import version_info
# The full version, including alpha/beta/rc tags.
release = version_info.release_string()
# The short X.Y version.
version = version_info.version_string()

# Config logABug feature
giturl = u'http://git.openstack.org/cgit/openstack/ironic/tree/api-ref/source'
# source tree
# html_context allows us to pass arbitrary values into the html template
html_context = {
    "bug_tag": "api-ref",
    "giturl": giturl,
    "bug_project": "ironic"
}

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# language = None
Пример #2
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Ironic API Reference'
copyright = u'OpenStack Foundation'

# 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.
#
from ironic.version import version_info
# The full version, including alpha/beta/rc tags.
release = version_info.release_string()
# The short X.Y version.
version = version_info.version_string()

# Config logABug feature
giturl = u'https://git.openstack.org/cgit/openstack/ironic/tree/api-ref/source'
# source tree
# html_context allows us to pass arbitrary values into the html template
html_context = {"bug_tag": "api-ref",
                "giturl": giturl,
                "bug_project": "ironic"}

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# language = None

# There are two options for replacing |today|: either, you set today to some