Skip to content

Commit b0a2852

Browse files
author
Tyler Goodlet
committed
Add html local toc sidebar to docs
The new version of alabaster requires explicitly setting which sidebars should be displayed. Copy `tox` for now. Fixes #171
1 parent 1da70c9 commit b0a2852

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/conf.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,24 @@
3333
language = None
3434

3535
pygments_style = "sphinx"
36-
html_logo = "_static/img/plug.png"
36+
# html_logo = "_static/img/plug.png"
3737
html_theme = "alabaster"
3838
html_theme_options = {
39-
# 'logo': 'img/plug.png',
40-
# 'logo_name': 'true',
41-
"description": "The `pytest` plugin system",
39+
"logo": 'img/plug.png',
40+
"description": "The pytest plugin system",
4241
"github_user": "pytest-dev",
4342
"github_repo": "pluggy",
4443
"github_button": "true",
4544
"github_banner": "true",
45+
"github_type": "star",
46+
"travis_button": "true",
47+
"badge_branch": "master",
4648
"page_width": "1080px",
4749
"fixed_sidebar": "false",
4850
}
51+
html_sidebars = {
52+
"**": ["about.html", "localtoc.html", "relations.html", "searchbox.html"]
53+
}
4954
html_static_path = ["_static"]
5055

5156
# One entry per manual page. List of tuples

0 commit comments

Comments
 (0)