animyrch / doc

testing-based documentation module for Deno
Apache License 2.0
0 stars 0 forks source link

Creating menu-items from folders. #3

Closed animyrch closed 4 years ago

animyrch commented 4 years ago

As the starting point, when one uses deno run doc, the system should be able to create the main menu item names in the output file from folder names inside test folder.

animyrch commented 4 years ago

For this, I would like to have a dedicated class that handles filesystem operations. It can be fs.ts and be unitarily tested by fs_test.ts

animyrch commented 4 years ago

fs.ts can scan a folder with scanFolder method and expose found files through the property folderStructure in the form of an array.