Remove learning tracks feature (#60617) · github/docs@873ae90 · GitHub
Skip to content

Commit 873ae90

Browse files
heiskrCopilotsubatoi
authored
Remove learning tracks feature (#60617)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
1 parent d194a6d commit 873ae90

54 files changed

Lines changed: 57 additions & 1589 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/test.yml‎

Lines changed: 0 additions & 1 deletion

‎content/README.md‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ See the [contributing docs](https://docs.github.com/en/contributing) for general
2323
- [`changelog`](#changelog)
2424
- [`defaultPlatform`](#defaultplatform)
2525
- [`defaultTool`](#defaulttool)
26-
- [`learningTracks`](#learningtracks)
26+
2727
- [`journeyTracks`](#journeytracks)
2828
- [`journeyArticlesHeading`](#journeyarticlesheading)
2929
- [`contentType`](#contenttype)
@@ -229,12 +229,6 @@ defaultPlatform: linux
229229
defaultTool: cli
230230
```
231231

232-
### `learningTracks`
233-
- Purpose: Render a list of learning tracks on a product's sub-landing page.
234-
- type: `String`. This should reference learning tracks' names defined in [`data/learning-tracks/*.yml`](../data/learning-tracks/README.md).
235-
- Optional
236-
237-
**Note: the featured track is set by a specific property in the learning tracks YAML. See that [README](../data/learning-tracks/README.md) for details.*
238232

239233
### `journeyTracks`
240234
- Purpose: Define journeys for journey landing pages.
@@ -434,3 +428,4 @@ Index pages are the Table of Contents files for the docs site. Every product, ca
434428
The homepage is the main Table of Contents file for the docs site. The homepage must have a complete list of `children`, like every [Index page](#index-page) but must also specify the `childGroups` frontmatter property that will be highlighted in the main content area.
435429

436430
`childGroups` is an array of mappings containing a `name` for the group, an optional `icon` for the group, and an array of `children`. The `children` in the array must be present in the `children` frontmatter property.
431+

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For more information, see [`lib/frontmatter.ts`](https://github.com/github/docs/
3939
* [`changelog`](#changelog)
4040
* [`defaultPlatform`](#defaultplatform)
4141
* [`defaultTool`](#defaulttool)
42-
* [`learningTracks`](#learningtracks)
42+
4343
* [`journeyTracks`](#journeytracks)
4444
* [`type`](#type)
4545
* [`communityRedirect`](#communityredirect)
@@ -225,14 +225,6 @@ defaultPlatform: linux
225225
defaultTool: cli
226226
```
227227

228-
### `learningTracks`
229-
230-
* Purpose: Render a list of learning tracks on a product's sub-landing page.
231-
* Type: `String`. This should reference learning tracks' names defined in [`data/learning-tracks/*.yml`](https://github.com/github/docs/tree/main/data/learning-tracks).
232-
* Optional
233-
234-
> [!NOTE]
235-
> The featured track is set by a specific property in the learning tracks YAML. See that [README](https://github.com/github/docs/blob/main/data/learning-tracks/README.md) for details.
236228

237229
### `journeyTracks`
238230

@@ -320,3 +312,4 @@ Index pages are the table of contents files for the Docs site. Every product, ca
320312
The homepage is the main Table of Contents file for the docs site. The homepage must have a complete list of `children`, like every [Index page](#index-pages) but must also specify the `childGroups` frontmatter property that will be highlighted in the main content area.
321313

322314
`childGroups` is an array of mappings containing a `name` for the group, an optional `icon` for the group, and an array of `children`. The `children` in the array must be present in the `children` frontmatter property.
315+

‎data/README.md‎

Lines changed: 1 addition & 5 deletions

‎data/learning-tracks/README.md‎

Lines changed: 0 additions & 51 deletions
This file was deleted.

‎data/learning-tracks/admin.yml‎

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)