Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

🌳 Add a tree-based list to your PowerShell module's README using two comments and CI

License

Notifications You must be signed in to change notification settings

couleur-tweak-tips/Show-ModuleTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Warning

This was a concept I lost interest in, Consider this abandonned, feel free to PR/fork

Show-ModuleTree 🌳

  1. Add the to following lines in your .MD (e.g README) file where you want your module tree to grow at:
<!---START FOO--->
<!---END FOO--->

Note

Replace foo by the name of the ReplaceBlock you wish to give it, it will then be parsed by Show-ModuleTree to replace that part of your markdown file

  1. Copy show-moduletree.yaml to your repo's /.github/workflows/ and expect a rich tree displaying all of your hard work!

  2. Profit (growth)! Here's how mine grew into:

Mind the hyperlinks, the descriptions are parsed from .SYNOPSIS when existant

Customization

  • Add -Spoiler to hide it behind a spoiler. Then you can add it at the top of your readme for everyone to have a glance at a high-level overview of your code's structure
  • Change everything about the directories, add a description, override the display name and hyperlink (e.g link to the nested README.MD)

About

🌳 Add a tree-based list to your PowerShell module's README using two comments and CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published