Repository navigation
Conversation
|
The rules work. Generating a global index will have to wait for some support from odoc. But technically this is already enough. Currently the doc is generated in
It's a bit annoying as the default output is not right, it talks about contexts I think I'll change that so that all the artifacts are generated in
Then I'll document and merge this PR. This change needs to be done before since the manual needs to precise where the generated html is. |
|
Looking at the doc for opam2, we should rather have a that would build the doc and add it to the generated install file. There are a few open questions:
For (1), the library directory seems like the obvious place, so that we can just include these path when building the .odoc and .html files, as we do when building other artifacts. For 2, it is more complicated. odoc generates the doc using the following structure:
where 2a. what to choose for the The natural solution would be to choose Another solution would be to install the doc in Using the opam package for Currently, the rules as implemented in this PR use the public library name as |
acadd59 to
f1e33bf
Compare
Simplify things for Build.progn
This adds the
@docalias to build documentation of public libraries. The doc is stored in_build/doc/<context-name>.generate a global indexdoccommand, that build the@docaliases