Skip to content

Commit

Permalink
fix(docs): doc theme and sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoDelatte committed Dec 22, 2023
1 parent 213fc48 commit 2402e3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
20 changes: 2 additions & 18 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@

html_theme_options = {
"pygment_light_style": "friendly", # "friendly",
"pygment_dark_style": "monokai",
"pygment_dark_style": "dracula", # "monokai", # dracula highlight print
"header_links_before_dropdown": 4,
"icon_links": [
{
Expand Down Expand Up @@ -175,24 +175,8 @@
}

html_sidebars = {
"community/index": [
"sidebar-nav-bs",
"custom-template",
], # This ensures we test for custom sidebars
# "auto_examples/*": []
# "examples/no-sidebar": [], # Test what page looks like with no sidebar items
"auto_examples/*/*": [], # no primary sidebar
# "examples/persistent-search-field": ["search-field"],
# Blog sidebars
# "examples/blog/*": [
# "ablog/postcard.html",
# "ablog/recentposts.html",
# "ablog/tagcloud.html",
# "ablog/categories.html",
# "ablog/authors.html",
# "ablog/languages.html",
# "ablog/locations.html",
# "ablog/archives.html",
# ],
}

# If true, links to the reST sources are added to the pages.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ docs = [
"Sphinx",
"sphinx-gallery",
"sphinx-design",
"pydata-sphinx-theme",
"pydata-sphinx-theme==0.13.3",
"matplotlib",
"kaleido",
"sphinx-copybutton",
Expand Down

0 comments on commit 2402e3a

Please sign in to comment.