Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-01-19 10:11:02 -05:00
parent db64982d71
commit 61458e8b03
+15 -5
View File
@@ -51,7 +51,7 @@ master_doc = 'index'
# General information about the project.
project = 'howtopython'
copyright = '2018, Kenneth Reitz'
copyright = u'2016. A <a href="http://kennethreitz.com/pages/open-projects.html">Kenneth Reitz</a> Project. <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">CC BY-NC-SA 3.0</a>'
author = 'Kenneth Reitz'
# The version info for the project you're documenting, acts as replacement for
@@ -94,6 +94,14 @@ html_theme = 'alabaster'
# documentation.
#
# html_theme_options = {}
html_theme_options = {
'show_powered_by': False,
'github_user': 'kennethreitz',
'github_repo': 'howtopython.org',
'github_banner': True,
'show_related': False,
'note_bg': '#FFF59C'
}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
@@ -106,12 +114,14 @@ html_static_path = ['_static']
# This is required for the alabaster theme
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
html_sidebars = {
'**': [
'relations.html', # needs 'show_related': True theme option to display
'searchbox.html',
]
'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html', 'hacks.html'],
'**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',
'sourcelink.html', 'searchbox.html', 'hacks.html']
}
html_title = 'How to Python!'
# -- Options for HTMLHelp output ------------------------------------------