From a64387178fda862487af3baa0bec1d532cccfa5d Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Mon, 30 Oct 2023 10:02:49 -0700 Subject: [PATCH] REST alphabetization bug fix (#45220) --- src/rest/scripts/utils/update-markdown.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rest/scripts/utils/update-markdown.js b/src/rest/scripts/utils/update-markdown.js index e2fde2f2bd..fb2a4a061e 100644 --- a/src/rest/scripts/utils/update-markdown.js +++ b/src/rest/scripts/utils/update-markdown.js @@ -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, }) }