sprockets.logging/docs/conf.py

31 lines
900 B
Python
Raw Permalink Normal View History

2015-06-08 14:09:56 +00:00
#!/usr/bin/env python
import sphinx_rtd_theme
from sprockets.logging import version_info, __version__
needs_sphinx = '1.0'
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinxcontrib.httpdomain',
]
templates_path = []
source_suffix = '.rst'
master_doc = 'index'
project = 'sprockets.logging'
2015-06-18 02:01:26 +00:00
author = 'Dave Shawley'
copyright = '2015, AWeber Communications'
2015-06-08 14:09:56 +00:00
version = '.'.join(__version__.split('.')[0:1])
release = __version__
if len(version_info) > 3:
release += '-{0}'.format(str(v) for v in version_info[3:])
exclude_patterns = []
pygments_style = 'sphinx'
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
intersphinx_mapping = {
'python': ('https://docs.python.org/', None),
'sprockets': ('https://sprockets.readthedocs.org/en/latest/', None),
2015-06-18 02:01:26 +00:00
'tornado': ('http://www.tornadoweb.org/en/stable/', None),
2015-06-08 14:09:56 +00:00
}