Skip to content

Commit

Permalink
set theme options
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraymer committed Jan 7, 2016
1 parent 39aae80 commit d00e59c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
21 changes: 18 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinxcontrib.fulltoc', 'alabaster']
extensions = ['alabaster']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -107,7 +107,14 @@
# 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 = {
'github_user': 'kraymer',
'github_repo': 'qifqif',
'github_type': 'watch',
'travis_button': True,
'codecov_button': False,
'show_related': True,
}

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [alabaster.get_path()]
Expand Down Expand Up @@ -147,7 +154,15 @@
#html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
html_sidebars = {
'**': [
'about.html',
'navigation.html',
'relations.html',
'searchbox.html',
'donate.html',
]
}

# Additional templates that should be rendered to pages, maps page names to
# template names.
Expand Down
1 change: 0 additions & 1 deletion docs/pip-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Requirements file for readthedocs.org
sphinxcontrib-fulltoc

0 comments on commit d00e59c

Please sign in to comment.