Repository navigation
Shape the New-TmuxServer help's "What is on here" as a capability directory - #68
Merged
Merged
Conversation
why: Each group of the New-TmuxServer help's "What is on here" section mixed guidance and cmdlet names in one paragraph, so libtmux.org rendered it as prose. The site draws a capability directory only when a bold-led paragraph of guidance is followed by a paragraph that holds nothing but references, in three groups or more. libtmux/docs#231 teaches the parser the bare cmdlet names PowerShell help uses. what: - Keep the introduction, the group titles and the guidance of every group, so the sentences that tell two cmdlets apart keep their names - Follow each group's guidance with one paragraph of the cmdlets it covers, written as bare names, with ConvertTo-TmuxQueryJson in a code span as the guidance already had it - Give the closing paragraph about Invoke-TmuxCommand, Invoke-TmuxChain, New-TmuxCommand and Invoke-TmuxControlCommand its own group, "Running a command" - Regenerate the packaged MAML help with eng/Help.ps1
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #66
Part of libtmux/docs#231
The
New-TmuxServerhelp's "What is on here" section now has the shape the docs site draws as a capability directory (groupDirectory): nine groups, each a bold-led paragraph of guidance followed by a paragraph that holds only references. Until now each group mixed guidance and references in one paragraph, so libtmux.org rendered it as prose.ConvertTo-TmuxQueryJsonin a code span as the guidance already had it.Invoke-TmuxCommand,Invoke-TmuxChain,New-TmuxCommandandInvoke-TmuxControlCommandis now its own group, "Running a command".LibTmux.PowerShell.dll-Help.xmlis regenerated from the Markdown witheng/Help.ps1.The site does not read PowerShell's bare cmdlet names in the directory yet; libtmux/docs#231 adds it. Until that lands the section reads as ordinary Markdown, which platyPS and
Get-Helprenders as before.Checked:
eng/Help.ps1regenerates the MAML,eng/Help.ps1 -Checkpasses andeng/check_example_width.pypasses