Skip to content

Commit 4c366e3

Browse files
committed
update READMEs
1 parent bc1a333 commit 4c366e3

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎content/README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ Example that applies to GitHub.com and recent versions of GitHub Enterprise Serv
6161
```yaml
6262
title: About your personal dashboard
6363
versions:
64-
free-pro-team: '*'
65-
enterprise-server: '>=2.20'
64+
fpt: '*'
65+
ghes: '>=2.20'
6666
```
6767
6868
Example that applies to all supported versions of GitHub Enterprise Server:
@@ -71,15 +71,15 @@ Example that applies to all supported versions of GitHub Enterprise Server:
7171
```yaml
7272
title: Downloading your license
7373
versions:
74-
enterprise-server: '*'
74+
ghes: '*'
7575
```
7676
7777
You can also version a page for a range of releases. This would version the page for GitHub Enterprise Server 2.22 and 3.0 only:
7878
7979
```yaml
8080
versions:
81-
free-pro-team: '*'
82-
enterprise-server: '>=2.22 <3.1'
81+
fpt: '*'
82+
ghes: '>=2.22 <3.1'
8383
```
8484
8585
### `redirect_from`
@@ -310,7 +310,7 @@ When using Liquid conditionals in lists or tables, you can use [whitespace contr
310310
Just add a hyphen on either the left, right, or both sides to indicate that there should be no newline on that side. For example, this statement removes a newline on the left side:
311311

312312
```
313-
{%- if currentVersion == 'free-pro-team@latest' %}
313+
{%- ifversion fpt %}
314314
```
315315

316316
## Links and image paths

‎data/learning-tracks/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Learning track data for a product is defined in two places:
2525
2626
One learning track in this YAML **per version** must be designated as a "featured" learning track via `featured_track: true`, which will set it to appear at the top of the product sublanding page. A test will fail if this property is missing.
2727
28-
The `featured_track` property can be a simple boolean (i.e., `featured_track: true`) or it can be a string that includes versioning statements (e.g., `featured_track: '{% if currentVersion == "free-pro-team@latest" %}true{% else %}false{% endif %}'`). If you use versioning, you'll have multiple `featured_track`s per YML file, but make sure that only one will render in each currently supported version. A test will fail if there are more or less than one featured link for each version.
28+
The `featured_track` property can be a simple boolean (i.e., `featured_track: true`) or it can be a string that includes versioning statements (e.g., `featured_track: '{% ifversion fpt %}true{% else %}false{% endif %}'`). If you use versioning, you'll have multiple `featured_track`s per YML file, but make sure that only one will render in each currently supported version. A test will fail if there are more or less than one featured link for each version.
2929
3030
## Versioning
3131
@@ -40,7 +40,7 @@ learning_track_name:
4040
description: 'Learning track description'
4141
featured_track: true
4242
versions:
43-
enterprise-server: '>=3.0'
43+
ghes: '>=3.0'
4444
guides:
4545
- /path/to/guide1
4646
- /path/to/guide2

‎data/product-examples/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ At the moment, versioning is only supported in code examples. If an example bloc
2929
- Version updates
3030
- Pull requests
3131
versions:
32-
'free-pro-team': '*'
32+
fpt: '*'
3333
```
3434

35-
where the syntax for `versions` is the same as the [frontmatter `versions` property](content/README.md) and can support semver notation.
35+
where the syntax for `versions` is the same as the [frontmatter `versions` property](content/README.md) and can support semver notation.
3636

3737
## Rendering
3838

0 commit comments

Comments
 (0)