2016-05-04 22:08:22 +03:00
|
|
|
import sphinx_rtd_theme
|
2018-07-27 19:41:10 +03:00
|
|
|
from recommonmark.parser import CommonMarkParser
|
|
|
|
from recommonmark.transform import AutoStructify
|
2016-05-04 22:08:22 +03:00
|
|
|
|
2013-03-12 17:14:02 +04:00
|
|
|
# The master toctree document.
|
|
|
|
master_doc = 'index'
|
|
|
|
|
|
|
|
project = u'Treeherder'
|
2017-02-13 22:20:36 +03:00
|
|
|
copyright = u'Mozilla and other contributors'
|
2013-03-12 17:14:02 +04:00
|
|
|
|
|
|
|
# List of patterns, relative to source directory, that match files and
|
|
|
|
# directories to ignore when looking for source files.
|
|
|
|
exclude_patterns = ['_build']
|
|
|
|
|
2016-05-04 22:08:22 +03:00
|
|
|
html_theme = 'sphinx_rtd_theme'
|
|
|
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
2018-07-27 19:41:10 +03:00
|
|
|
|
|
|
|
source_parsers = {
|
|
|
|
'.md': CommonMarkParser,
|
|
|
|
}
|
|
|
|
|
|
|
|
source_suffix = ['.rst', '.md']
|
|
|
|
|
|
|
|
|
|
|
|
def setup(app):
|
|
|
|
# Enable additional recommonmark features:
|
|
|
|
# https://recommonmark.readthedocs.io/en/latest/auto_structify.html
|
|
|
|
app.add_transform(AutoStructify)
|