You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configure/content-set/navigation.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,11 @@ Optional key. Defaults to `false`. When enabled turns soft line endings in the m
49
49
50
50
### `external_hosts`
51
51
52
+
% Or remove this section altogether?
53
+
```{applies_to}
54
+
product: deprecated 0.11.0
55
+
```
56
+
52
57
All links to external hosts must be declared in this section of `docset.yml`.
53
58
54
59
Example:
@@ -89,6 +94,17 @@ exclude:
89
94
- '_*.md'
90
95
```
91
96
97
+
### `products`
98
+
99
+
Products that are covered in all pages in the doc set.
100
+
101
+
:::{include} /_snippets/products-list.md
102
+
:::
103
+
104
+
`products`can also be defined in the [page level frontmatter](/syntax/frontmatter.md#products).
105
+
If you define `products` in a page's Markdown file and the `docset.yml` file also includes `products`, docs-builder will combine the two lists.
106
+
You can _not_ override doc set level `products` at the page level.
107
+
92
108
### `toc`
93
109
94
110
Defines the table of contents (navigation) for the content set. A minimal toc is:
@@ -107,7 +123,7 @@ The TOC in principle follows the directory structure on disk.
107
123
- folder: subsection
108
124
```
109
125
110
-
If a folder does not explicitly define `children` all markdown files within that folder are included automatically
126
+
If a folder does not explicitly define `children` all markdown files within that folder are included automatically
111
127
112
128
If a folder does define `children` all markdown files within that folder have to be included. `docs-builder` will error if it detects dangling documentation files.
113
129
@@ -122,8 +138,8 @@ If a folder does define `children` all markdown files within that folder have to
122
138
123
139
#### Virtual grouping
124
140
125
-
A `file` element may include children to create a virtual grouping that
126
-
does not match the directory structure.
141
+
A `file` element may include children to create a virtual grouping that
142
+
does not match the directory structure.
127
143
128
144
```yaml
129
145
...
@@ -137,7 +153,7 @@ A `file` may only select siblings and more deeply nested files as its children.
137
153
138
154
#### Hidden files
139
155
140
-
A hidden file can be declared in the TOC.
156
+
A hidden file can be declared in the TOC.
141
157
```yaml
142
158
- hidden: developer-pages.md
143
159
```
@@ -176,6 +192,6 @@ See [Attributes](./attributes.md) to learn more.
176
192
177
193
As a rule, each `docset.yml` file can only be included once in the assembler. This prevents us from accidentally duplicating pages in the docs. However, there are times when you want to split content sets and include them partially in different areas of the TOC. That's what `toc.yml` files are for. These files split one documentation set into multiple “sub-TOCs,” each mapped to a different navigation node.
178
194
179
-
A `toc.yml` file may only declare a nested [TOC](#toc), other options are ignored.
195
+
A `toc.yml` file may only declare a nested [TOC](#toc), other options are ignored.
180
196
181
197
A `toc.yml` may not link to further nested `toc.yml` files. Doing so will result in an error
0 commit comments