1
0
mirror of synced 2025-12-19 18:10:59 -05:00

RAI content: adding new article type & required reviewer (#44733)

This commit is contained in:
Vanessa
2023-10-26 07:32:19 +10:00
committed by GitHub
parent 84df2b9edb
commit e01cf4b25d
4 changed files with 6 additions and 3 deletions

3
.github/CODEOWNERS vendored
View File

@@ -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

View File

@@ -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`

View File

@@ -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',

View File

@@ -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',