From cdfd9adb7292ed8043893f791d87c3919eba0480 Mon Sep 17 00:00:00 2001 From: Lars Holm Nielsen Date: Mon, 24 Aug 2015 16:14:35 +0200 Subject: [PATCH] docs: theme options addition * Adds theme options to documentation in order to show links to GitHub and PyPI. Signed-off-by: Lars Holm Nielsen --- docs/conf.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index e0e6cef..2799c2f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -124,7 +124,18 @@ # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -#html_theme_options = {} +html_theme_options = { + 'description': 'Flask-AppFactory is an dynamic application loader.', + 'github_user': 'inveniosoftware', + 'github_repo': 'flask-appfactory', + 'github_button': False, + 'github_banner': True, + 'show_powered_by': False, + 'extra_nav_links' : { + 'Flask-AppFactory@GitHub' : 'http://github.com/inveniosoftware/flask-appfactory/', + 'Flask-AppFactory@PyPI' : 'http://pypi.python.org/pypi/Flask-AppFactory/', + } +} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = []