cookiecutter-sprockets/sprockets.{{cookiecutter.project_name}}/docs/conf.py

23 lines
717 B
Python
Raw Normal View History

2014-08-20 12:01:06 +00:00
from sprockets.{{cookiecutter.project_name}} 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'
2014-08-29 02:31:18 +00:00
project = 'sprockets.{{cookiecutter.project_name}}'
2014-08-20 12:01:06 +00:00
copyright = '{{cookiecutter.year}}, {{cookiecutter.full_name}}'
version = '.'.join(__version__.split('.')[0:1])
2014-08-20 12:01:06 +00:00
release = __version__
if len(version_info) > 3:
release += '-{0}'.format(str(v) for v in version_info[3:])
exclude_patterns = []
intersphinx_mapping = {
2015-10-19 17:48:33 +00:00
'python': ('https://docs.python.org/3/', None),
'sprockets': ('https://sprockets.readthedocs.org/en/latest/', None),
2014-08-20 12:01:06 +00:00
}