Skip to content

Commit

Permalink
Use the Alabaster themes to make Bodhi pretty
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
  • Loading branch information
jeremycline committed Oct 13, 2017
1 parent 2589e98 commit f15351e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/_static/logo.svg
24 changes: 21 additions & 3 deletions docs/conf.py
Expand Up @@ -99,7 +99,13 @@
# 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 = {
'logo': 'logo.svg',
'logo_name': True,
'github_user': 'fedora-infra',
'github_repo': 'bodhi',
'page_width': '1040px',
}

# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
Expand Down Expand Up @@ -133,8 +139,20 @@
# typographically correct entities.
# html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
# html_sidebars = {}
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#
# This is required for the alabaster theme
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
html_sidebars = {
'**': [
'about.html',
'navigation.html',
'relations.html', # needs 'show_related': True theme option to display
'searchbox.html',
'donate.html',
]
}

# Additional templates that should be rendered to pages, maps page names to
# template names.
Expand Down

0 comments on commit f15351e

Please sign in to comment.