## Prerequisites - gardener/docforge#487 - gardener/docforge#488 ## Changes - Add a `gen-toc` step to the pipeline (after `docforge` run and before the VitePress build). It should generate `hugo/content/toc.yaml`. - Replace `sortByWeight()` in `sidebar.ts` with data from `toc.yaml`. - Check whether parts of the post-processing (`part-index.js`) can also read from `toc.yaml` instead of scanning the file system.
Prerequisites
Changes
gen-tocstep to the pipeline (afterdocforgerun and before the VitePress build). It should generatehugo/content/toc.yaml.sortByWeight()insidebar.tswith data fromtoc.yaml.part-index.js) can also read fromtoc.yamlinstead of scanning the file system.