1
0
mirror of synced 2026-01-08 12:01:53 -05:00

REST alphabetization bug fix (#45220)

This commit is contained in:
Rachael Sewell
2023-10-30 10:02:49 -07:00
committed by GitHub
parent 6756ba57cb
commit a64387178f

View File

@@ -10,7 +10,7 @@ import { getDocsVersion } from '#src/versions/lib/all-versions.js'
import { REST_DATA_DIR, REST_SCHEMA_FILENAME } from '../../lib/index.js'
import { deprecated } from '#src/versions/lib/enterprise-server-releases.js'
const { frontmatterDefaults, targetDirectory } = JSON.parse(
const { frontmatterDefaults, targetDirectory, indexOrder } = JSON.parse(
await readFile('src/rest/lib/config.json', 'utf-8'),
)
@@ -21,6 +21,7 @@ export async function updateRestFiles() {
targetDirectory,
sourceContent: restMarkdownContent,
frontmatter: frontmatterDefaults,
indexOrder,
})
}