psDoc icon indicating copy to clipboard operation
psDoc copied to clipboard

Method Names sometimes not in alphabetical order

Open ChaseFlorell opened this issue 8 years ago • 2 comments

Sometimes when the tool generates the navigation on the left, the method names are not in order. I "thought" I put some sort of order-by clause in there, but maybe I've missed it.

ChaseFlorell avatar Jan 18 '16 18:01 ChaseFlorell

Hey Chase, I think this has been solved already..? i've just tested it on my PC with 3 different modules (using both templates) and both appear to display in alphabetical order..

If you think it's still broken i can quickly change line 23 of psdoc.ps1 it to $commandsHelp = (Get-Command -module $moduleName | sort-object -property Name) | get-help -full | Where-Object {! $_.name.EndsWith('.ps1')}

codepersononline avatar Oct 05 '16 03:10 codepersononline

Thanks for looking at it. I haven't really focussed on this for a bit... it works for my needs for now. Feel free to send a PR, and I'll bring it in.

ChaseFlorell avatar Oct 06 '16 20:10 ChaseFlorell