# How can tell \`Documenter \` to collapse (fold) items in the side bar?

**URL:** <https://discourse.julialang.org/t/how-can-tell-documenter-to-collapse-fold-items-in-the-side-bar/87862>\
**Category:** Tooling\
**Tags:** documentation, documenter\
**Created:** [September 27, 2022, 7:52am UTC](https://discourse.julialang.org/t/how-can-tell-documenter-to-collapse-fold-items-in-the-side-bar/87862 "2022-09-27T07:52:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Post date:** [September 27, 2022, 7:52am UTC](https://discourse.julialang.org/t/how-can-tell-documenter-to-collapse-fold-items-in-the-side-bar/87862/1 "2022-09-27T07:52:58Z")

</div>

E.g. julia docs section can be expanded / collapsed in [Julia Documentation · The Julia Language](https://docs.julialang.org/en/v1/).

I would like to collapse certain `PlotDocs` section by default in [Home · Plots](https://docs.juliaplots.org/stable/).

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [September 27, 2022, 8:03am UTC](https://discourse.julialang.org/t/how-can-tell-documenter-to-collapse-fold-items-in-the-side-bar/87862/2 "2022-09-27T08:03:54Z")

</div>

I think you want

```julia
Documenter.HTML(
       ...
       collapselevel = 1,
       ...

```

in `make.jl`.

---

<div class="post-metadata">

**Author:** ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Post date:** [September 27, 2022, 8:10am UTC](https://discourse.julialang.org/t/how-can-tell-documenter-to-collapse-fold-items-in-the-side-bar/87862/3 "2022-09-27T08:10:16Z")

</div>

Thanks !  
I wish we could have more granularity on a page per page basis, but this will definitively improve the current.
