cookiecutter-sprockets/sprockets.{{cookiecutter.project_name}}/docs/conf.py
Gavin M. Roy 5bb05e461d Updates to many things
- Documentation updates, fleshing out more of the baseline expectations
- README.rst updates with the baseline expectations
- Remove tornado from the requirements.txt
- Update the nosetests configuration in setup.cfg
- Remove unneeded 2.6 requirements
- Update classifiers
- Update name in cookiecutter.json
- Use manual package names in packages
- Mark as non-zip safe
- Remove tests directory
- Make default tests.py file
- Explicitly add coverage to the test requirements
- Add README.rst to MANIFEST.in
- Update Trove classifiers
- Ensure setup.py will include README.rst and LICENSE (dupe of MANIFEST.in)
- Add test_suite to setup.py
- Set default description in cookiecutter.json

Additional refactoring

- Change to be a sprockets.foo.bar project
- Move doc to docs
- Add additional documentation templates
- Change version to only show major.minor
- Add docs/Makefile
- Minor README and docs updates

Fix the travis file and readthedocs URLs

Deployment/pypi related updates
2014-08-28 22:09:21 -04:00

29 lines
940 B
Python

#!/usr/bin/env python
import sphinx_rtd_theme
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'
project = '{{cookiecutter.project_name}}'
copyright = '{{cookiecutter.year}}, {{cookiecutter.full_name}}'
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),
'requests': ('https://requests.readthedocs.org/en/latest/', None),
'sprockets': ('https://sprockets.readthedocs.org/en/latest/', None),
}