Vendor Agnostic
No matter how much we ❤️ Docusaurus, we realize it will not be the right solution for everyone as users might:
- Prefer different (non-javascript) languages
- Need to maintain an existing solution
- Simply not like the green lizard
TL;DR
I want the markdown produced by this module but I do not want to use Docusaurus.
New-DocusaurusHelp -Module "YourModule" -VendorAgnostic
How Does It Work?
By passing the -VendorAgnostic
switch parameter this module will generate the exact same
markdown as always but will skip two Docusaurs-specific steps during the process:
- Front matter
- Docusaurus sidebar file
Front Matter
The PlatyPS generated markdown front matter:
- Will not be touched
- Will need to updated/replaced (by you) to fit your needs
- Will look similar to the example below
---
external help file: Alt3.Docusaurus.Powershell-help.xml
Module Name: Alt3.Docusaurus.Powershell
online version: https://docusaurus-powershell.vercel.app/
schema: 2.0.0
---
Docusaurus Sidebar File
The Docusaurus-specific docusaurus.sidebar.js
file will not be generated.
If your solution/vendor requires a similar list you will need to generate one yourself, perhaps using the NewSideBarIncludeFile function for inspiration.
Additional Information
- Get-Help documentation for the -VendorAgnostic switch parameter