Skip to content

Commit

Permalink
doc: clarify usage of sites with implicit_transitive_deps
Browse files Browse the repository at this point in the history
Signed-off-by: Kento Okura <[email protected]>
  • Loading branch information
kentookura committed Feb 25, 2025
1 parent cd00c2a commit 2e45762
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/sites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ site using the :doc:`generate_sites_module stanza
(sites mygui))
The generated module `mysites` depends on the library `dune-site` provided by
Dune.
Dune. If :doc:`implicit_transitive_deps
</reference/dune/implicit_transitive_deps>` is set to false in your
`dune-project` file, `dune-site` must be explicitly declared in the `depends`
stanza of your package.

Then inside ``mygui.ml`` module the locations can be recovered and used:

Expand Down

0 comments on commit 2e45762

Please sign in to comment.