Skip to content

Commit

Permalink
Fix html_sidebars example
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Mar 5, 2022
1 parent d9ef336 commit 641f14d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/customisation/sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,16 @@ This is useful when you want to make drastic or major changes to the design of F
As an example, to make the _entire_ sidebar scrollable, it is possible to set `sidebar/scroll-start.html` as the first fragment and `sidebar/scroll-end.html` as the last fragment.

```py
html_sidebars = [
"sidebar/scroll-start.html",
"sidebar/brand.html",
"sidebar/search.html",
"sidebar/navigation.html",
"sidebar/ethical-ads.html",
"sidebar/scroll-end.html",
]
html_sidebars = {
"**": [
"sidebar/scroll-start.html",
"sidebar/brand.html",
"sidebar/search.html",
"sidebar/navigation.html",
"sidebar/ethical-ads.html",
"sidebar/scroll-end.html",
]
}
```

```{warning}
Expand Down

0 comments on commit 641f14d

Please sign in to comment.