diff --git a/scripts/process-releases.js b/scripts/process-releases.js index a4e01889..298bed56 100644 --- a/scripts/process-releases.js +++ b/scripts/process-releases.js @@ -66,8 +66,14 @@ async function processReleases(opts) { // ### Customization await addMetadataToFile(join(docDestination, 'index.md'), { title: 'Introduction', + ['sidebar_position']: 0, [`displayed_sidebar`]: 'docsSidebar', }) + await addMetadataToFile(join(docDestination, 'Guides', 'Getting-Started.md'), { ['sidebar_position']: 0 }) + await addMetadataToFile(join(docDestination, 'Guides', 'Recommendations.md'), { ['sidebar_position']: 1 }) + await addMetadataToFile(join(docDestination, 'Guides', 'Database.md'), { ['sidebar_position']: 2 }) + await addMetadataToFile(join(docDestination, 'Guides', 'Testing.md'), { ['sidebar_position']: 3 }) + await addMetadataToFile(join(docDestination, 'Guides', 'Write-Plugin.md'), { ['sidebar_position']: 4 }) docsVersions.push({ tag: docTree.releseTag, versionName }) }