dataplat / docs

The documentation for dbatools module. Issues with command doc and bugs should be reported to dataplat/dbatools.
https://docs.dbatools.io
15 stars 12 forks source link

[Bug] - [Documentation] Long powershell commands get truncated when rendered on the dbatools.io documentation website #46

Closed MarkIannucci closed 3 years ago

MarkIannucci commented 3 years ago

Report

Long powershell commands get truncated when rendered on the dbatools.io documentation website:

Example from Write-DbaDataTable: image

In the code we're OK:

https://github.com/sqlcollaborative/dbatools/blob/1640c64014ec5546eaa10396d7d5149993557339/functions/Write-DbaDbTableData.ps1#L109-L115

I'm happy to submit a PR to add a line break, but I'm not sure how I can validate that my addition of a backtick and line feed on line 113 will be rendered by the utility which renders our powershell inline help.

niphlod commented 3 years ago

thanks @MarkIannucci for spotting this. We're working to have an easier way to generate what the help will look like without spending too much time. If you're interested in the "current way" this is the crash course. Basically ....

done.

potatoqualitee commented 3 years ago

🥳 thanks for the fix, niph