Simplify doc config

This commit is contained in:
Andrew Rabert 2018-11-26 19:38:35 -05:00
parent 49195dd75a
commit 63bf39cf4a
2 changed files with 4 additions and 20 deletions

View file

@ -1,32 +1,17 @@
# -*- coding: utf-8 -*-
import alabaster
from sprockets import http
import sprockets.http
project = 'sprockets.http'
copyright = 'AWeber Communications, Inc.'
version = http.__version__
release = '.'.join(str(v) for v in http.version_info[0:2])
version = sprockets.http.__version__
release = '.'.join(str(v) for v in sprockets.http.version_info[0:2])
needs_sphinx = '1.0'
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'sphinxcontrib.autohttp.tornado',
'sphinx.ext.viewcode'
]
templates_path = []
source_suffix = '.rst'
source_encoding = 'utf-8-sig'
master_doc = 'index'
exclude_patterns = []
pygments_style = 'sphinx'
html_theme = 'alabaster'
html_theme_path = [alabaster.get_path()]
html_sidebars = {
'**': ['about.html', 'navigation.html'],
}
html_static_path = ['_static']
html_theme_options = {
'github_user': 'sprockets',
'github_repo': 'sprockets.http',

View file

@ -1,2 +1 @@
sphinx==1.8.2
sphinxcontrib-httpdomain==1.7.0