Skip to content

Commit 12d9dfa

Browse files
committed
Update 07-custom-sections.qmd
1 parent bb689a6 commit 12d9dfa

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

user_guide/07-custom-sections.qmd

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ tags: [Content, Customization]
99

1010
Great Docs lets you add any number of custom page groups to your documentation site (examples, tutorials, demos, or anything else). Each section gets its own navbar link and sidebar navigation. By default, the navbar links directly to the first page in the section. Set `index: true` to generate a card-based index page instead. For blog-style content, there's a dedicated `type: blog` mode that uses Quarto's native listing directive.
1111

12+
::: {.version-only versions=">=0.6"}
1213
If you need a single hand-written HTML page rather than a section of `.qmd` files, see [Custom Static Pages](custom-pages.qmd). Custom sections and custom static pages are complementary features.
14+
:::
1315

1416
## Quick Start
1517

@@ -60,10 +62,16 @@ sections:
6062
| Field | Default | Description |
6163
|------------------|--------------------|-------------|
6264
| `index` | `false` | When `true`, auto-generates a card-based index page; when `false`, navbar links to the first page |
63-
| `index_columns` | `2` | Number of columns for image cards on the index page (1 or 2). Only applies when `index: true` [version-badge new 0.7] |
6465
| `navbar_after` | Before "Reference" | Name of an existing navbar item to place this section after |
6566
| `type` | `default` | `"default"` for card-grid index with sidebar; `"blog"` for Quarto listing page |
67+
68+
::: {.version-only versions=">=0.7"}
69+
| `index_columns` | `2` | Number of columns for image cards on the index page (1 or 2). Only applies when `index: true` [version-badge new 0.7] |
70+
:::
71+
72+
::: {.version-only versions="dev"}
6673
| `dir_titles` | `{}` | Mapping of subdirectory names to custom sidebar section titles (see [Subdirectories](#subdirectories)) [version-badge new dev] |
74+
:::
6775

6876
## Multiple Sections
6977

0 commit comments

Comments
 (0)