Docusaurus.Powershell icon indicating copy to clipboard operation
Docusaurus.Powershell copied to clipboard

[WIP] GroupByVerb parameter and behaviours.

Open homotechsual opened this issue 2 years ago • 7 comments
trafficstars

This adds a -GroupByVerb parameter and associated functionality including:

  • Splits the markdown files into subfolders by approved PowerShell verb.
  • Alters folder cleaning to recurse into the verb folders (but doesn't remove the folders yet)
  • Alters sidebar generation to reflect the subfolder structure.
  • Changes some existing simple array generation to [System.Collections.Generic.List[]] for speed and ease of collection population.

Discussion points:

  1. Should it remove empty verb folders if found when cleaning? (I would like this to happen - but would like wider input.)
  2. Any fundamental changes to this approach you'd like to see?
  3. Test plan?

homotechsual avatar Jul 22 '23 21:07 homotechsual

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docusaurus-powershell ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2023 10:43pm

vercel[bot] avatar Jul 22 '23 21:07 vercel[bot]

Thanks for putting this up here, I will take a look into it when I find some time. Refs #129.

bravo-kernel avatar Jul 26 '23 06:07 bravo-kernel

It's in use on https://dev.homotechsualdocs.pages.dev/ for the HaloAPI and NinjaOne modules.

homotechsual avatar Jul 26 '23 06:07 homotechsual

Apologies for the delay, I needed to fix the CI pipeline first. Could you please rebase against main and let me know so we can start the test suite? After that, we will take it from there.

bravo-kernel avatar Aug 09 '23 13:08 bravo-kernel

Sure - I also have a couple more tweaks I've made from using this "in anger" that I'll fold in :-)

homotechsual avatar Aug 09 '23 14:08 homotechsual

Might be a week or so though!

homotechsual avatar Aug 09 '23 14:08 homotechsual

No worries, take your time 👍

bravo-kernel avatar Aug 09 '23 14:08 bravo-kernel