This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
10
unikernel/duniverse/dune_/doc/test/dune
Normal file
10
unikernel/duniverse/dune_/doc/test/dune
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(cram
|
||||
(alias check-lang-dune)
|
||||
(deps
|
||||
(package dune)
|
||||
(glob_files ../*.rst)))
|
||||
|
||||
(alias
|
||||
(name runtest)
|
||||
(deps
|
||||
(alias check-lang-dune)))
|
||||
12
unikernel/duniverse/dune_/doc/test/run.t
Normal file
12
unikernel/duniverse/dune_/doc/test/run.t
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
----------------------------------------------------------------------------------
|
||||
Reveal all occurrences of non-latest (lang dune ...) version in documentation.
|
||||
|
||||
When changing Dune version, you need to update the docs too to make this test pass.
|
||||
|
||||
Occasionally we do want to mention an older Dune version in documentation. This
|
||||
is fine, but you then need to update the list of such exceptions below.
|
||||
|
||||
$ DUNE_LANG=$(dune internal latest-lang-version)
|
||||
$ grep '(lang dune' ../*.rst | grep -v "$DUNE_LANG"
|
||||
../hacking.rst:``(lang dune 2.7)`` in their ``dune`` project file to use it.
|
||||
../tests.rst: (lang dune 2.7)
|
||||
Loading…
Add table
Add a link
Reference in a new issue