@@ -6,8 +6,8 @@ library_parameter
66 This feature is experimental and requires the compiler you are using to
77 support parameterized libraries.
88
9- The ``library_parameter `` describes a parameter. To be able to use the feature,
10- you need to enable the stanza using the ``(using oxcaml 0.1) `` :doc: `extension
9+ The ``library_parameter `` stanza describes a parameter interface defined in a single `` .mli `` file. To enable this feature,
10+ you need to add ``(using oxcaml 0.1) `` :doc: `extension
1111</reference/dune-project/using>` in your ``dune-project `` file.
1212
1313.. describe :: (library_parameter ...)
@@ -18,7 +18,7 @@ you need to enable the stanza using the ``(using oxcaml 0.1)`` :doc:`extension
1818
1919 .. describe :: (name <parameter-name>)
2020
21- ``parameter-name `` is the real of the library parameter. It must be a valid
21+ ``parameter-name `` is the name of the library parameter. It must be a valid
2222 OCaml module name as for :doc: `/reference/dune/library `.
2323
2424 This must be specified if no `public_name ` is specified.
@@ -44,10 +44,7 @@ you need to enable the stanza using the ``(using oxcaml 0.1)`` :doc:`extension
4444
4545 .. describe :: (modules <modules>)
4646
47- Specifies what modules are part of the library parameter. By default, Dune will use
48- all the ``.mli `` files in the same directory as the ``dune `` file. This
49- includes ones present in the file system as well as ones generated by user
50- rules. You can restrict this list by using a ``(modules <modules>) `` field.
47+ Specifies a specific module to select as a `library_parameter `.
5148
5249 ``<modules> `` uses the :doc: `/reference/ordered-set-language `, where
5350 elements are module names and don't need to start with an uppercase letter.
@@ -97,9 +94,9 @@ you need to enable the stanza using the ``(using oxcaml 0.1)`` :doc:`extension
9794
9895 .. describe :: (enabled_if <blang expression>)
9996
100- Conditionally disables a library.
97+ Conditionally disables a library parameter .
10198
102- A disabled library cannot be built and will not be installed.
99+ A disabled library parameter cannot be built and will not be installed.
103100
104101 The condition is specified using the :doc: `/reference/boolean-language `, and
105102 the field allows for the ``%{os_type} `` variable, which is expanded to the
0 commit comments