Skip to content

Commit a643871

Browse files
authored
REST alphabetization bug fix (#45220)
1 parent 6756ba5 commit a643871

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rest/scripts/utils/update-markdown.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { getDocsVersion } from '#src/versions/lib/all-versions.js'
1010
import { REST_DATA_DIR, REST_SCHEMA_FILENAME } from '../../lib/index.js'
1111
import { deprecated } from '#src/versions/lib/enterprise-server-releases.js'
1212

13-
const { frontmatterDefaults, targetDirectory } = JSON.parse(
13+
const { frontmatterDefaults, targetDirectory, indexOrder } = JSON.parse(
1414
await readFile('src/rest/lib/config.json', 'utf-8'),
1515
)
1616

@@ -21,6 +21,7 @@ export async function updateRestFiles() {
2121
targetDirectory,
2222
sourceContent: restMarkdownContent,
2323
frontmatter: frontmatterDefaults,
24+
indexOrder,
2425
})
2526
}
2627

0 commit comments

Comments
 (0)