Skip to content

Commit

Permalink
doc: fix display of 'sites'
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Maroneze <andre.maroneze@cea.fr>

ps-id: 1507157E-61A4-439C-84CE-AD858C0B59C9
  • Loading branch information
maroneze authored and rgrinberg committed Aug 1, 2022
1 parent 8f7eb1e commit 8596727
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/dune-files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1891,8 +1891,8 @@ plugin (Since 2.8)
------------------

Plugins are a way to load OCaml libraries at runtime. The ``plugin`` stanza
allows you to declare the plugin's name, in which :ref:`sites` should be
present, and which libraries it will load.
allows you to declare the plugin's name, which :ref:`sites<sites>` should be
present and which libraries it will load.

.. code:: lisp
Expand All @@ -1919,10 +1919,10 @@ The loading of the plugin is done using the facilities generated by
generate_sites_module (Since 2.8)
---------------------------------

Dune proposes some facilities for dealing with :ref:`sites` in a program. The
Dune proposes some facilities for dealing with :ref:`sites<sites>` in a program. The
``generate_sites_module`` stanza will generate code for looking up the correct locations
of the sites directories and for loading plugins. It works after installation
with or without the relocation mode, inside Dune rules, when using Dune executables.
of the sites' directories and for loading plugins. It works after installation
with or without the relocation mode, inside Dune rules, and when using Dune executables.
For promotion, it works only if the generated modules are solely in the executable (or
library statically linked) promoted; generated modules in plugins won't work.

Expand Down

0 comments on commit 8596727

Please sign in to comment.