sprockets.mixins.mediatype/docs/conf.py

40 lines
1.2 KiB
Python
Raw Normal View History

2015-08-19 22:29:32 +00:00
import alabaster
2015-09-09 22:50:14 +00:00
from sprockets.mixins.mediatype import __version__
2015-06-08 20:28:30 +00:00
needs_sphinx = '1.0'
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.viewcode',
2015-08-19 22:29:32 +00:00
'sphinx.ext.intersphinx',
'sphinxcontrib.autohttp.tornado']
2015-06-08 20:28:30 +00:00
source_suffix = '.rst'
master_doc = 'index'
project = 'sprockets.mixins.mediatype'
2016-01-10 18:49:38 +00:00
copyright = '2015-2016, AWeber Communications'
2015-06-08 20:28:30 +00:00
release = __version__
version = '.'.join(release.split('.')[0:1])
2015-08-19 22:29:32 +00:00
pygments_style = 'sphinx'
html_theme = 'alabaster'
html_style = 'custom.css'
html_static_path = ['static']
html_theme_path = [alabaster.get_path()]
html_sidebars = {
'**': ['about.html', 'navigation.html'],
}
html_theme_options = {
'github_user': 'sprockets',
'github_repo': 'sprockets.mixins.media_type',
'description': 'Content-Type negotation mix-in',
'github_banner': True,
'travis_button': True,
'sidebar_width': '230px',
2016-02-24 19:47:53 +00:00
'codecov_button': True,
2015-08-19 22:29:32 +00:00
}
2015-06-08 20:28:30 +00:00
intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
2015-06-08 20:28:30 +00:00
'requests': ('https://requests.readthedocs.org/en/latest/', None),
'sprockets': ('https://sprockets.readthedocs.org/en/latest/', None),
2015-08-19 22:29:32 +00:00
'tornado': ('http://tornadoweb.org/en/latest/', None),
2015-06-08 20:28:30 +00:00
}