Skip to content

Commit 5b09731

Browse files
heiskrCopilot
andauthored
Remove topics frontmatter property from schema and codebase (#60294)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1ec98da commit 5b09731

File tree

62 files changed

+28
-213
lines changed

Some content is hidden

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

62 files changed

+28
-213
lines changed

content/rest/copilot/copilot-coding-agent-management.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ intro: Use the REST API to manage settings for {% data variables.copilot.copilot
55
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
66
fpt: '*'
77
ghec: '*'
8-
topics:
9-
- API
108
autogenerated: rest
119
allowTitleToDifferFromFilename: true
1210
---

src/app/lib/main-context-adapter.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export function createMinimalMainContext(
7070
title?: string
7171
fullTitle?: string
7272
introPlainText?: string
73-
topics?: string[]
7473
documentType?: string
7574
hidden?: boolean
7675
},
@@ -94,7 +93,6 @@ export function createMinimalMainContext(
9493
page: pageData
9594
? {
9695
documentType: pageData.documentType || 'article',
97-
topics: pageData.topics || [],
9896
title: pageData.title || 'Page Not Found',
9997
fullTitle: pageData.fullTitle || pageData.title,
10098
introPlainText: pageData.introPlainText,

src/content-linter/tests/fixtures/journey-tracks/duplicate-ids.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
topics:
9-
- Testing
108
journeyTracks:
119
- id: duplicate-id
1210
title: "First Track"

src/content-linter/tests/fixtures/journey-tracks/invalid-paths.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
topics:
9-
- Testing
108
journeyTracks:
119
- id: track-1
1210
title: "Track with Invalid Guides"

src/content-linter/tests/fixtures/journey-tracks/no-journey-tracks.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
topics:
9-
- Testing
108
---
119

1210
# Journey without Journey Tracks

src/content-linter/tests/fixtures/journey-tracks/non-journey-layout.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
topics:
9-
- Testing
108
journeyTracks:
119
- id: track-1
1210
title: "Should be ignored"

src/content-linter/tests/fixtures/journey-tracks/valid-journey.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
topics:
9-
- Testing
108
journeyTracks:
119
- id: track-1
1210
title: "Getting Started Track"

src/content-linter/tests/fixtures/landing-carousels/article-one.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
topics:
9-
- Testing
108
---
119

1210
# Article One

src/content-linter/tests/fixtures/landing-carousels/article-two.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
topics:
9-
- Testing
108
---
119

1210
# Article Two

src/content-linter/tests/fixtures/landing-carousels/duplicate-carousels.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
ghes: '*'
8-
topics:
9-
- Testing
108
carousels:
119
recommended:
1210
- /article-one

0 commit comments

Comments
 (0)