Skip to content

Commit d8b355d

Browse files
authored
Merge pull request github#29991 from github/repo-sync
Repo sync
2 parents 6fddca1 + 53f297b commit d8b355d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

content/contributing/writing-for-github-docs/using-yaml-frontmatter.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ For more information about the different types of versioning, see "[Versioning d
5050
- Type: `Object`. Allowable keys map to product names and can be found in the `versions` object in [`lib/frontmatter.js`](https://github.com/github/docs/blob/main/src/frame/lib/frontmatter.js).
5151
- This frontmatter value is currently **required** for all pages.
5252
- The `*` is used to denote all releases for the version.
53+
- Must be present for all `index.md` files, but actual value is computed at runtime based on the children.
5354

5455
This frontmatter value is used by the docs site to generate "permalinks" for each version of an article. For more information, see [Permalinks](#permalinks).
5556

@@ -59,7 +60,7 @@ Example that applies to {% data variables.product.prodname_dotcom_the_website %}
5960
title: About your personal dashboard
6061
versions:
6162
fpt: '*'
62-
ghes: '>=2.20'
63+
ghes: '>=3.11'
6364
```
6465
6566
Example that applies to all supported versions of {% data variables.product.prodname_ghe_server %}, but not {% data variables.product.prodname_dotcom_the_website %}:
@@ -89,9 +90,9 @@ Example:
8990
```yaml
9091
title: Getting started with GitHub Desktop
9192
redirect_from:
92-
- /articles/first-launch/
93-
- /articles/error-github-enterprise-version-is-too-old/
94-
- /articles/getting-started-with-github-for-windows/
93+
- /articles/first-launch
94+
- /articles/error-github-enterprise-version-is-too-old
95+
- /articles/getting-started-with-github-for-windows
9596
```
9697

9798
For more information, see "[AUTOTITLE](/contributing/syntax-and-versioning-for-github-docs/configuring-redirects)."

0 commit comments

Comments
 (0)