ocaml / v2.ocaml.org

Implementation of the ocaml.org website.
http://ocaml.org
Other
323 stars 346 forks source link

Sort modules in the stdlib api index in alphabetical order #1631

Closed Octachron closed 1 year ago

Octachron commented 1 year ago

This PR patches the index files for the 4.13 to 5.0 API documentation to sort each link first by category:

and then alphabetically inside each category.

cc @gasche

sanette commented 1 year ago

this should solve https://github.com/ocaml/v2.ocaml.org/issues/1617 https://github.com/ocaml/ocaml/issues/11478

however do I understand correctly that this has to be done manually at each new release? Couldn't this be integrated in the webman generation?

Octachron commented 1 year ago

Those are the index pages generated by ocamldoc after tweaking the input send to ocamldoc. There is no special manual process required fortunately.

sanette commented 1 year ago

oh great, thanks. out of curiosity, where is the "tweaking" done?

Octachron commented 1 year ago

https://github.com/ocaml/ocaml/pull/11860

tmattio commented 1 year ago

Thanks @Octachron!