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
- Type: `String`, one of the `overview`, `quick_start`, `tutorial`, `how_to`, `reference`.
219
+
- Optional.
220
+
221
+
### `topics`
222
+
- Purpose: Indicate the topics covered by the article.
223
+
- Type: `String`
224
+
- Optional.
225
+
226
+
189
227
### Escaping single quotes
190
228
191
229
If you see two single quotes in a row (`''`) in YML frontmatter where you might expect to see one (`'`), this is the YML-preferred way to escape a single quote. From [the YAML spec](https://yaml.org/spec/history/2001-12-10.html):
@@ -274,3 +312,15 @@ Sometimes you want to link to a Dotcom-only article in Enterprise content and yo
274
312
```
275
313
276
314
Sometimes the canonical home of content moves outside the docs site. None of the links included in [`lib/redirects/external-sites.json`](/lib/redirects/external-sites.json) get rewritten. See [`contributing/redirects.md`](/contributing/redirects.md) for more info about this type of redirect.
315
+
316
+
317
+
### Creating new sublanding pages
318
+
319
+
To create a sublanding page (e.g. [Actions' Guide page](https://docs.github.com/en/actions/guides)), create or modify an existing markdown file with these specific frontmatter values:
320
+
321
+
1. Use the sublanding page template by referencing it `layout: product-sublanding`
322
+
2. (optional) Include the learning tracks in [`learningTracks`](#learningTracks)
323
+
3. (optional) Define which articles to include with [`includeGuides`](#includeGuides).
324
+
325
+
If using learning tracks, they need to be defined in [`data/learning-tracks/*.yml`](../data/learning-tracks/README.md).
326
+
If using `includeGuides`, make sure each of the articles in this list has [`topics`](#topics) and [`type`](#type) in its frontmatter.
0 commit comments