2021-03-06 14:50:04 +00:00
|
|
|
import sprockets_statsd
|
|
|
|
|
|
|
|
project = 'sprockets-statsd'
|
|
|
|
version = sprockets_statsd.version
|
|
|
|
copyright = '2021 AWeber Communications, Inc.'
|
2023-07-28 12:06:59 +00:00
|
|
|
html_theme = 'python_docs_theme'
|
2021-03-06 14:50:04 +00:00
|
|
|
extensions = []
|
2023-07-28 12:06:59 +00:00
|
|
|
html_static_path = ['.']
|
|
|
|
html_css_files = ['custom.css']
|
2021-03-06 14:50:04 +00:00
|
|
|
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html
|
|
|
|
extensions.append('sphinx.ext.autodoc')
|
|
|
|
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html
|
|
|
|
extensions.append('sphinx.ext.intersphinx')
|
|
|
|
intersphinx_mapping = {
|
|
|
|
'python': ('https://docs.python.org/3/', None),
|
|
|
|
'tornado': ('https://www.tornadoweb.org/en/branch6.0/', None),
|
|
|
|
}
|
|
|
|
|
2021-04-12 12:08:07 +00:00
|
|
|
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html
|
|
|
|
extensions.append('sphinx.ext.extlinks')
|
|
|
|
extlinks = {
|
2023-07-28 13:14:26 +00:00
|
|
|
'issue':
|
|
|
|
("https://github.com/sprockets/sprockets-statsd/issues/%s", "#%s"),
|
2021-04-12 12:08:07 +00:00
|
|
|
'tag': ("https://github.com/sprockets/sprockets-statsd/compare/%s", "%s"),
|
|
|
|
}
|
|
|
|
|
2021-03-06 14:50:04 +00:00
|
|
|
# https://pypi.org/project/sphinx-autodoc-typehints/
|
2023-07-28 12:06:59 +00:00
|
|
|
# extensions.append('sphinx_autodoc_typehints')
|