Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5f9c3c

Browse files
CopilotsubatoiheiskrCopilot
authored
Remove topics frontmatter from content/get-started (#59878)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: subatoi <[email protected]> Co-authored-by: Kevin Heis <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 667953b commit d5f9c3c

52 files changed

Lines changed: 2 additions & 453 deletions

File tree

Some content is hidden

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

content/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,6 @@ journeyTracks:
290290
- Type: `String`, one of the `overview`, `quick_start`, `tutorial`, `how_to`, `reference`.
291291
- Optional.
292292

293-
### `topics`
294-
- Purpose: Indicate the topics covered by the article. Refer to the content models for more details about adding topics. A full list of existing topics is located in the [allowed topics file](/data/allowed-topics.ts). If topics in article frontmatter and the allow-topics list become out of sync, the [topics CI test](/src/search/tests/topics.ts) will fail.
295-
- Type: Array of `String`s
296-
- Optional: Topics are preferred for each article, but, there may be cases where existing articles don't yet have topics, or adding a topic to a new article may not add value.
297-
298293
### `communityRedirect`
299294
- Purpose: Set a custom link and link name for `Ask the GitHub community` link in the footer.
300295
- Type: `Object`. Properties are `name` and `href`.

content/contributing/style-guide-and-content-model/about-topics.md

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

content/contributing/style-guide-and-content-model/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ title: Style guide and content model
33
intro: 'Learn about how we keep GitHub''s documentation consistent, easy to follow, and maintainable.'
44
versions:
55
feature: 'contributing'
6+
redirect_from:
7+
- /contributing/style-guide-and-content-model/about-topics
68
children:
79
- /style-guide
810
- /about-the-content-model
911
- /contents-of-a-github-docs-article
10-
- /about-topics
1112
- /conceptual-content-type
1213
- /referential-content-type
1314
- /procedural-content-type

content/contributing/writing-for-github-docs/templates.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ shortTitle: '<subject>'
2020
intro: 'Article intro. See tips for a great intro below.'
2121
product: "optional product callout"
2222
type: overview
23-
topics:
24-
- topic
2523
versions:
2624
- version
2725
---
@@ -72,8 +70,6 @@ shortTitle: <subject> # Max 31 characters
7270
intro: 'Article intro. See tips for a great intro below.'
7371
product: "{{ optional product callout }}"
7472
type: reference
75-
topics:
76-
- <topic> # One or more from list of allowed topics: https://github.com/github/docs/blob/main/data/allowed-topics.ts
7773
versions:
7874
- <version>
7975
---
@@ -124,8 +120,6 @@ shortTitle: <subject> # Max 31 characters
124120
intro: 'Article intro. See tips for a great intro below.'
125121
product: "{{ optional product callout }}"
126122
type: how_to
127-
topics:
128-
- <topic> # One or more from list of allowed topics: https://github.com/github/docs/blob/main/data/allowed-topics.ts
129123
versions:
130124
- <version>
131125
---
@@ -175,8 +169,6 @@ title: Quickstart title
175169
shortTitle: <subject> # Max 31 characters
176170
intro: 'Article intro. Highlight that the guide is quick and to the point.'
177171
type: quick_start
178-
topics:
179-
- <topic> # One or more from list of allowed topics: https://github.com/github/docs/blob/main/data/allowed-topics.ts
180172
versions:
181173
- <version>
182174
---
@@ -244,8 +236,6 @@ shortTitle: <subject> # Max 31 characters
244236
intro: 'Article intro. See tips for a great intro below'
245237
product: "{{ optional product callout }}"
246238
type: tutorial
247-
topics:
248-
- <topic> # One or more from list of allowed topics: https://github.com/github/docs/blob/main/data/allowed-topics.ts
249239
versions:
250240
- <version>
251241
---
@@ -319,8 +309,6 @@ shortTitle: <subject> # Max 31 characters
319309
intro: 'Article intro. See tips for a great intro below'
320310
product: "{{ optional product callout }}"
321311
type: tutorial
322-
topics:
323-
- <topic> # One or more from list of allowed topics: https://github.com/github/docs/blob/main/data/allowed-topics.ts
324312
versions:
325313
- <version>
326314
---

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,6 @@ journeyTracks:
289289
* Type: `String`, one of the `overview`, `quick_start`, `tutorial`, `how_to`, `reference`, `rai`.
290290
* Optional.
291291

292-
### `topics`
293-
294-
* Purpose: Indicate the topics covered by the article. Refer to the content models for more details about adding topics. A full list of existing topics is located in the [allowed topics file](https://github.com/github/docs/blob/main/data/allowed-topics.ts). If topics in article frontmatter and the allow-topics list become out of sync, the [topics CI test](https://github.com/github/docs/blob/main/src/search/tests/topics.ts) will fail.
295-
* Type: Array of `String`s
296-
* Optional: Topics are preferred for each article, but, there may be cases where existing articles don't yet have topics, or adding a topic to a new article may not add value.
297-
298292
### `communityRedirect`
299293

300294
* Purpose: Set a custom link and link name for `Ask the GitHub community` link in the footer.

content/get-started/accessibility/managing-your-theme-settings.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghes: '*'
77
ghec: '*'
8-
topics:
9-
- Accounts
108
redirect_from:
119
- /github/setting-up-and-managing-your-github-user-account/managing-your-theme-settings
1210
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings

content/get-started/archiving-your-github-personal-account-and-public-repositories/opting-into-or-out-of-the-github-archive-program-for-your-public-repository.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ redirect_from:
88
versions:
99
fpt: '*'
1010
ghec: '*'
11-
topics:
12-
- Policy
13-
- Legal
1411
shortTitle: GitHub Archive program
1512
---
1613

content/get-started/archiving-your-github-personal-account-and-public-repositories/requesting-an-archive-of-your-personal-accounts-data.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ intro: '{% data reusables.user-settings.export-data %}'
99
versions:
1010
fpt: '*'
1111
ghec: '*'
12-
topics:
13-
- Policy
14-
- Legal
1512
shortTitle: Request account archive
1613
---
1714

content/get-started/exploring-projects-on-github/contributing-to-a-project.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ versions:
77
fpt: '*'
88
ghes: '*'
99
ghec: '*'
10-
topics:
11-
- Pull requests
12-
- Forks
13-
- GitHub
14-
- Open Source
1510
redirect_from:
1611
- /get-started/quickstart/contributing-to-projects
1712
---

content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ redirect_from:
1414
versions:
1515
fpt: '*'
1616
ghec: '*'
17-
topics:
18-
- Open Source
1917
shortTitle: Finding open source projects
2018
---
2119

0 commit comments

Comments
 (0)