sassdoc
sassdoc copied to clipboard
Default "undefined" group won't sort alphabetically in groups list
The default undefined: General group in SassDoc settings will always be appended to the grouping list on the left-hand column, even if it's overwritten by anything else in .sassdocrc file. Could this be allowed to sort alphabetically like the rest of the groups for consistency?
This is because groups are sorted by slug and not display name... SassDoc core is not aware of the display name, only the theme is.
And even the sort theme configuration option is sorting on group and not groupName so it's not a solution either.
This could be fixed by adding a groupName sort support in sassdoc-extras, and providing a custom sort criteria in SassDoc configuration, but this wouldn't change anything with default sort at core level.
Thank you!
No need to close the issue yet, this is not fixed! I was just giving technical input on the subject if it can help.
So, no fix have been implemented yet, and the sassdoc-extras one is not a silver bullet (it don't affect the default sort)... I'd like @pascalduez opinion on this too. :)