mirror of
https://github.com/sprockets/sprockets.mixins.metrics.git
synced 2024-11-24 11:19:54 +00:00
2d29c8cda7
Hopefully this fixes build failures on RTD: https://readthedocs.org/projects/sprocketsmixinsmetrics/builds/3675075/
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
import alabaster
|
|
from sprockets.mixins import metrics
|
|
|
|
project = 'sprockets.mixins.metrics'
|
|
copyright = 'AWeber Communications, Inc.'
|
|
version = metrics.__version__
|
|
release = '.'.join(str(v) for v in metrics.version_info[0:2])
|
|
|
|
needs_sphinx = '1.0'
|
|
extensions = [
|
|
'sphinx.ext.autodoc',
|
|
'sphinx.ext.intersphinx',
|
|
'sphinx.ext.viewcode',
|
|
]
|
|
|
|
templates_path = []
|
|
source_suffix = '.rst'
|
|
source_encoding = 'utf-8-sig'
|
|
master_doc = 'index'
|
|
exclude_patterns = []
|
|
pygments_style = 'sphinx'
|
|
html_style = 'custom.css'
|
|
html_static_path = ['_static']
|
|
html_theme = 'alabaster'
|
|
html_theme_path = [alabaster.get_path()]
|
|
html_sidebars = {
|
|
'**': ['about.html', 'navigation.html'],
|
|
}
|
|
html_theme_options = {
|
|
'github_user': 'sprockets',
|
|
'github_repo': 'sprockets.mixins.metrics',
|
|
'description': 'Application metrics tracker',
|
|
'github_banner': True,
|
|
'travis_button': True,
|
|
'codecov_button': True,
|
|
}
|
|
|
|
intersphinx_mapping = {
|
|
'python': ('http://docs.python.org/3/', None),
|
|
'tornado': ('http://tornadoweb.org/en/latest/', None),
|
|
}
|