sprockets.mixins.metrics/docs/conf.py

43 lines
1.1 KiB
Python
Raw Permalink Normal View History

2016-01-18 20:32:49 +00:00
# -*- 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']
2016-01-18 20:32:49 +00:00
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,
2016-01-27 15:47:51 +00:00
'codecov_button': True,
2016-01-18 20:32:49 +00:00
}
intersphinx_mapping = {
'python': ('http://docs.python.org/3/', None),
'tornado': ('http://tornadoweb.org/en/latest/', None),
}