Changeset View
Changeset View
Standalone View
Standalone View
swh/docs/sphinx/conf.py
Show All 13 Lines | |||||
# Add any Sphinx extension module names here, as strings. They can be | # Add any Sphinx extension module names here, as strings. They can be | ||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||||
# ones. | # ones. | ||||
extensions = ['sphinx.ext.autodoc', | extensions = ['sphinx.ext.autodoc', | ||||
'sphinx.ext.napoleon', | 'sphinx.ext.napoleon', | ||||
# 'sphinx.ext.intersphinx', | # 'sphinx.ext.intersphinx', | ||||
'sphinxcontrib.httpdomain', | 'sphinxcontrib.httpdomain', | ||||
'sphinx.ext.extlinks'] | 'sphinx.ext.extlinks', | ||||
'sphinxcontrib.mermaid', | |||||
] | |||||
# Add any paths that contain templates here, relative to this directory. | # Add any paths that contain templates here, relative to this directory. | ||||
templates_path = ['_templates'] | templates_path = ['_templates'] | ||||
# The suffix(es) of source filenames. | # The suffix(es) of source filenames. | ||||
# You can specify multiple suffix as a list of string: | # You can specify multiple suffix as a list of string: | ||||
# | # | ||||
source_suffix = ['.rst', '.md'] | source_suffix = ['.rst', '.md'] | ||||
# source_suffix = '.rst' | # source_suffix = '.rst' | ||||
source_parsers = { | source_parsers = { | ||||
'.md': 'recommonmark.parser.CommonMarkParser', | '.md': 'recommonmark.parser.CommonMarkParser', | ||||
} | } | ||||
# The master toctree document. | # The master toctree document. | ||||
master_doc = 'index' | master_doc = 'index' | ||||
# A string of reStructuredText that will be included at the beginning of every | |||||
# source file that is read. | |||||
rst_prolog = ''' | |||||
.. include:: /swh-substitutions | |||||
''' | |||||
# The version info for the project you're documenting, acts as replacement for | # The version info for the project you're documenting, acts as replacement for | ||||
# |version| and |release|, also used in various other places throughout the | # |version| and |release|, also used in various other places throughout the | ||||
# built documents. | # built documents. | ||||
# | # | ||||
# The short X.Y version. | # The short X.Y version. | ||||
version = '' | version = '' | ||||
# The full version, including alpha/beta/rc tags. | # The full version, including alpha/beta/rc tags. | ||||
release = '' | release = '' | ||||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |