-
Notifications
You must be signed in to change notification settings - Fork 47
Redo the documentation #299
Copy link
Copy link
Open
Labels
documentationf#Applies to the F# variantApplies to the F# varianthelp wantedExtra attention is neededExtra attention is neededocamlApplies to the OCaml versionApplies to the OCaml versionrescriptApplies to the rescript versionApplies to the rescript version
Milestone
Metadata
Metadata
Assignees
Labels
documentationf#Applies to the F# variantApplies to the F# varianthelp wantedExtra attention is neededExtra attention is neededocamlApplies to the OCaml versionApplies to the OCaml versionrescriptApplies to the rescript versionApplies to the rescript version
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently, the documentation is generated by parsing code and generated files and converting it into model.json, which is then used to generate website code. This means that the .mli files are the source of truth, and it has the advantage of using the exact generated output.
There are some disadvantages to this approach though:
I propose we take the opposite approach:
Other goals:
Alternatively, instead of generating our own code, we could use output from each language's own documentation toolchain (rescript currently uses odoc as well though), and either link to it from the website or embed it somehow.