@NEETzsche @colinsmatt11 I’m pulling Markdown docs from git and trying to display them on the website. To control the order of the items in the sidebar (ie not purely alphabetical) I need a separate file to defile their order. There are a few competing ways to do this:
- Gitbook SUMMARY.md: https://docs.gitbook.com/getting-started/git-sync/content-configuration#summary
- Docusaurus sidebars.json: https://docusaurus.io/docs/sidebar#sidebar-object
I don’t expect any human would actually edit a sidebars.json by hand (even though that’s the intention), so I went with the SUMMARY.md format instead.
But now I need to parse a Markdown file into something a React component can understand.