Skip to content

Commit 85dc1ba

Browse files
Added a reference to the version documentation (#11563)
Signed-off-by: Akshita Sure <[email protected]>
1 parent bc67d7b commit 85dc1ba

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/dune-libs.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@ at which the current executable was built is as simple as:
146146
| None -> "n/a"
147147
| Some v -> Build_info.V1.Version.to_string v)
148148
149+
You can specify the project version using the ``version`` field in the
150+
``dune-project`` file. For example:
151+
152+
.. code:: dune
153+
154+
(version 1.2.3)
155+
156+
For more details, refer to :doc:`/reference/dune-project/version`.
157+
149158
For libraries and executables from development repositories that don't
150159
have version information written directly in the ``dune-project``
151160
file, the version is obtained by querying the version control

0 commit comments

Comments
 (0)