Skip to content

Commit fede31f

Browse files
committed
Merge branch 'script-to-move-toc-links-into-frontmatter' of github.com:github/docs-internal into refactor-site-tree
2 parents dbcc81a + c31c0c3 commit fede31f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/content-migrations/update-tocs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const linksArray = new RegExp(linkString.source, 'gm')
1414
// The product order is determined by data/products.yml
1515
const productsFile = path.join(process.cwd(), 'data/products.yml')
1616
const productsYml = yaml.load(fs.readFileSync(productsFile, 'utf8'))
17-
const sortedProductIds = productsYml.productsInOrder.concat('/early-access')
17+
const sortedProductIds = productsYml.productsInOrder.concat('early-access')
1818

1919
// This script turns `{% link /<link> %} style content into children: [ -/<link> ] frontmatter arrays.
2020
//

0 commit comments

Comments
 (0)