diff --git a/docs/conf.py b/docs/conf.py index 5d6070d..5adb3c5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,5 @@ #!/usr/bin/env python -import sphinx_rtd_theme - -from sprockets.clients.statsd import version_info, __version__ +from sprockets.clients.statsd import __version__ needs_sphinx = '1.0' extensions = [ @@ -9,21 +7,18 @@ extensions = [ 'sphinx.ext.intersphinx', 'sphinxcontrib.httpdomain', ] + +release = __version__ +version = '.'.join(release.split('.')[0:1]) + templates_path = [] source_suffix = '.rst' master_doc = 'index' project = 'sprockets.clients.statsd' copyright = '2014, AWeber Communications' -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), -} \ No newline at end of file +}