Tune doc theme
This commit is contained in:
parent
0a85dc5603
commit
aabe9282e7
|
@ -41,8 +41,6 @@ with codecs.open(_version_path, 'r', 'latin1') as fp:
|
||||||
sys.path.insert(0, os.path.abspath('..'))
|
sys.path.insert(0, os.path.abspath('..'))
|
||||||
sys.path.insert(0, os.path.abspath('.'))
|
sys.path.insert(0, os.path.abspath('.'))
|
||||||
|
|
||||||
import alabaster
|
|
||||||
|
|
||||||
# -- General configuration ------------------------------------------------
|
# -- General configuration ------------------------------------------------
|
||||||
|
|
||||||
# If your documentation needs a minimal Sphinx version, state it here.
|
# If your documentation needs a minimal Sphinx version, state it here.
|
||||||
|
@ -146,8 +144,10 @@ html_theme_options = {
|
||||||
'github_user': 'aio-libs',
|
'github_user': 'aio-libs',
|
||||||
'github_repo': 'aiohttp_security',
|
'github_repo': 'aiohttp_security',
|
||||||
'github_button': True,
|
'github_button': True,
|
||||||
|
'github_style': 'star',
|
||||||
'github_banner': True,
|
'github_banner': True,
|
||||||
'travis_button': True,
|
'travis_button': True,
|
||||||
|
'codecov_button': True,
|
||||||
'pre_bg': '#FFF6E5',
|
'pre_bg': '#FFF6E5',
|
||||||
'note_bg': '#E5ECD1',
|
'note_bg': '#E5ECD1',
|
||||||
'note_border': '#BFCF8C',
|
'note_border': '#BFCF8C',
|
||||||
|
@ -157,7 +157,7 @@ html_theme_options = {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Add any paths that contain custom themes here, relative to this directory.
|
# Add any paths that contain custom themes here, relative to this directory.
|
||||||
html_theme_path = [alabaster.get_path()]
|
# html_theme_path = [alabaster.get_path()]
|
||||||
|
|
||||||
# The name for this set of Sphinx documents. If None, it defaults to
|
# The name for this set of Sphinx documents. If None, it defaults to
|
||||||
# "<project> v<release> documentation".
|
# "<project> v<release> documentation".
|
||||||
|
|
|
@ -4,10 +4,10 @@ pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
coverage
|
coverage
|
||||||
sphinx
|
sphinx
|
||||||
alabaster>=0.6.2
|
|
||||||
pep257
|
pep257
|
||||||
aiohttp_session>=0.4.0
|
aiohttp_session
|
||||||
aiopg[sa]
|
aiopg[sa]
|
||||||
aioredis==0.2.8
|
aioredis==0.2.8
|
||||||
hiredis==0.2.0
|
hiredis==0.2.0
|
||||||
passlib==1.6.5
|
passlib==1.6.5
|
||||||
|
aiohttp
|
||||||
|
|
Loading…
Reference in New Issue