-
Notifications
You must be signed in to change notification settings - Fork 469
dune build @doc documents private libraries #4799
Copy link
Copy link
Closed
Description
Expected Behavior
When building documentation (dune build @doc) for a project containing private libraries I expect the documentation to not show the private libs.
Actual Behavior
The documentation shows private libraries:
$ dune build @doc
$ cat _build/default/_doc/_mlds/foo/index.mld
{0 foo index}
{1 Library foo.bar}
The entry point of this library is the module:
{!module-Foo}.
{1 Library secret}
The entry point of this library is the module:
{!module-Secret}.
Reproduction
- Set up private library following until Line 38
- Build docs
dune build @doc - The documentation shows the private library
cat _build/default/_doc/_mlds/foo/index.mld
Specifications
- Version of
dune(output ofdune --version): 2.9.0, but 2.8x behaves the same - Version of
ocaml(output ofocamlc --version) 4.12.0 - Operating system (distribution and version): openSUSE Tumbleweed
Additional information
- Link to gist with verbose output (run
dunewith the--verboseflag): https://gist.github.com/tjammer/a97bb147c51e0033c4b6f4418435f6b9
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels