Fermain / -mollify

9 stars 9 forks source link

Implement `directory-tree` in CLI #115

Open Fermain opened 1 year ago

Fermain commented 1 year ago

https://www.npmjs.com/package/directory-tree

Fermain commented 10 months 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/.