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
|
||||
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`
|
||||
|
||||
- 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.
|
||||
|
||||
### `topics`
|
||||
|
||||
@@ -13,7 +13,7 @@ const layoutNames = [
|
||||
false,
|
||||
]
|
||||
|
||||
const guideTypes = ['overview', 'quick_start', 'tutorial', 'how_to', 'reference']
|
||||
const guideTypes = ['overview', 'quick_start', 'tutorial', 'how_to', 'reference', 'rai']
|
||||
|
||||
export const schema = {
|
||||
type: 'object',
|
||||
|
||||
@@ -90,7 +90,7 @@ const context = {
|
||||
page_type: {
|
||||
type: 'string',
|
||||
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: {
|
||||
type: 'number',
|
||||
|
||||
Reference in New Issue
Block a user