Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Commit

Permalink
docs: theme options addition
Browse files Browse the repository at this point in the history
* Adds theme options to documentation in order to show links to GitHub
  and PyPI.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
  • Loading branch information
lnielsen committed Aug 27, 2015
1 parent d5db38a commit 49c4e3b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/conf.py
Expand Up @@ -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 = []
Expand Down

0 comments on commit 49c4e3b

Please sign in to comment.