Closed jpomfret closed 3 months ago
hi @jpomfret , there's a whole logic behind doc generation but can be replicated locally. If you give me a specific page we can see if it's a problem on the "generation" or on the "display" side of things
edit: that being said you got the gist. Right now multiline examples should be prefixed by either PS C:\>
or >>
. We could change it but it needs proper testing to avoid breaking other pages.
For the curious enough, logic is in here https://github.com/dataplat/docs/blob/master/assets/templates/to_md.ps1, it turns the json help into markdown pages.
This is an example: https://docs.dbatools.io/New-DbaReplCreationScriptOptions.
I will check out that logic and test locally, and then upload the rest of the changes here. Thanks!
MERCi
Type of Change
.\tests\manual.pester.ps1
)Purpose
The docs on the website have![image](https://github.com/dataplat/dbatools/assets/981370/95d37b01-4b35-48d3-8398-c6e835725dc9)
<br>
at the end of each row currently from splatting@niphlod - is there any other options? or is this the fix? Got this from looking at other commands where it works![image](https://github.com/dataplat/dbatools/assets/981370/1d69a637-a8fb-4a71-bce6-0f930ed4b4a1)
If this is the fix - I have some more to fix before this PR gets merged... so marking as draft for now