RAI content: adding new article type & required reviewer (#44733)
This commit is contained in:
3
.github/CODEOWNERS
vendored
3
.github/CODEOWNERS
vendored
@@ -12,3 +12,6 @@ src/ghes-releases/lib/enterprise-dates.json @github/docs-content-enterprise
|
|||||||
|
|
||||||
# Requires review of #actions-oidc-integration, docs-engineering/issues/1506
|
# Requires review of #actions-oidc-integration, docs-engineering/issues/1506
|
||||||
content/actions/deployment/security-hardening-your-deployments/** @github/oidc
|
content/actions/deployment/security-hardening-your-deployments/** @github/oidc
|
||||||
|
|
||||||
|
# RAI - CELA
|
||||||
|
content/copilot/github-copilot-chat/about-github-copilot-chat.md @github/legal-product
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ includeGuides:
|
|||||||
### `type`
|
### `type`
|
||||||
|
|
||||||
- Purpose: Indicate the type of article.
|
- Purpose: Indicate the type of article.
|
||||||
- Type: `String`, one of the `overview`, `quick_start`, `tutorial`, `how_to`, `reference`.
|
- Type: `String`, one of the `overview`, `quick_start`, `tutorial`, `how_to`, `reference`, `rai`.
|
||||||
- Optional.
|
- Optional.
|
||||||
|
|
||||||
### `topics`
|
### `topics`
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ const layoutNames = [
|
|||||||
false,
|
false,
|
||||||
]
|
]
|
||||||
|
|
||||||
const guideTypes = ['overview', 'quick_start', 'tutorial', 'how_to', 'reference']
|
const guideTypes = ['overview', 'quick_start', 'tutorial', 'how_to', 'reference', 'rai']
|
||||||
|
|
||||||
export const schema = {
|
export const schema = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ const context = {
|
|||||||
page_type: {
|
page_type: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
description: 'Optional page type from the content frontmatter.',
|
description: 'Optional page type from the content frontmatter.',
|
||||||
enum: ['overview', 'quick_start', 'tutorial', 'how_to', 'reference'], // frontmatter.js
|
enum: ['overview', 'quick_start', 'tutorial', 'how_to', 'reference', 'rai'], // frontmatter.js
|
||||||
},
|
},
|
||||||
status: {
|
status: {
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
|||||||
Reference in New Issue
Block a user