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

Commit 49c4e3b

Browse files
committed
docs: theme options addition
* 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>
1 parent d5db38a commit 49c4e3b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/conf.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,18 @@
124124
# Theme options are theme-specific and customize the look and feel of a theme
125125
# further. For a list of options available for each theme, see the
126126
# documentation.
127-
#html_theme_options = {}
127+
html_theme_options = {
128+
'description': 'Flask-AppFactory is an dynamic application loader.',
129+
'github_user': 'inveniosoftware',
130+
'github_repo': 'flask-appfactory',
131+
'github_button': False,
132+
'github_banner': True,
133+
'show_powered_by': False,
134+
'extra_nav_links' : {
135+
'Flask-AppFactory@GitHub' : 'http://github.com/inveniosoftware/flask-appfactory/',
136+
'Flask-AppFactory@PyPI' : 'http://pypi.python.org/pypi/Flask-AppFactory/',
137+
}
138+
}
128139

129140
# Add any paths that contain custom themes here, relative to this directory.
130141
#html_theme_path = []

0 commit comments

Comments
 (0)