diff --git a/source/conf.py b/source/conf.py index 1a4c4bf..bc3bf6d 100644 --- a/source/conf.py +++ b/source/conf.py @@ -51,7 +51,7 @@ master_doc = 'index' # General information about the project. project = 'howtopython' -copyright = '2018, Kenneth Reitz' +copyright = u'2016. A Kenneth Reitz Project. CC BY-NC-SA 3.0' 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 ------------------------------------------