NiklasRosenstein / pydoc-markdown

Create Python API documentation in Markdown format.
http://niklasrosenstein.github.io/pydoc-markdown/
Other
458 stars 102 forks source link

Docusaurus: sort sidebar items #183

Closed m-vdb closed 3 years ago

m-vdb commented 3 years ago

Proposal

Sort sidebar items. Today the order is somewhat arbitrary. Here's the proposed sorting strategy:

  1. put sidebar items with children at the top, then "edges" below
  2. sort each of these categories using alphanumeric order

This PR contains:

m-vdb commented 3 years ago

@NiklasRosenstein I've noticed a weird order in the sidebar for the Docusaurus theme, this is an attempt at fixing it 😄 let me know if you need more context!

NiklasRosenstein commented 3 years ago

Sorry for the late response, lgtm! :)