Open Fermain opened 1 year ago
Explore this library as a tool for generating the sitemap that is used navigation on the backend.
The idea here is to use this library to build an in-memory tree diagram of each entity markdown file and its children. This can be used to create a sitemap or navigation items.
This function should be able to run recursively from any given path in the application - i.e. I should be able to map a small part of the files by starting the function here /content/example/nested-course/
.
https://www.npmjs.com/package/directory-tree