Skip to content

Commit

Permalink
docs: fix sidebar preview and collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
machow committed Nov 4, 2024
1 parent 334bdc1 commit 5a40790
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/get-started/sidebar.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@ with a [Quarto sidebar configuration](https://quarto.org/docs/websites/website-n
The Quarto [`metadata-files` option](https://quarto.org/docs/projects/quarto-projects.html#metadata-includes) ensures
it's included with the configuration in `_quarto.yml`.

::: { .callout-note}
Here is what the sidebar for the [quartodoc reference page](/api) looks like:

<div class="sourceCode">
<pre class="sourceCode yaml"><code class="sourceCode yaml">{{< include /api/_sidebar.yml >}}
</code></pre>
</div>
<details>
```yaml
{{< include /api/_sidebar.yml >}}
```
</details>

:::

## Customizing the sidebar

Expand Down

0 comments on commit 5a40790

Please sign in to comment.