This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,3 @@
```ocaml
# let x = 1;;
```

View file

@ -0,0 +1,3 @@
```ocaml
# let x = 1;;
```

View file

@ -0,0 +1,3 @@
```ocaml
# let x = 1;;
```

View file

@ -0,0 +1,10 @@
(mdx
(files doc-a.md)
(package a))
(mdx
(files doc-b.md)
(package b))
(mdx
(files doc-nopkg.md))

View file

@ -0,0 +1,2 @@
(lang dune 2.9)
(using mdx 0.1)

View file

@ -0,0 +1,23 @@
The mdx stanza supports (package):
$ dune runtest
File "doc-a.md", line 1, characters 0-0:
Error: Files _build/default/doc-a.md and
_build/default/.mdx/doc-a.md.corrected differ.
File "doc-b.md", line 1, characters 0-0:
Error: Files _build/default/doc-b.md and
_build/default/.mdx/doc-b.md.corrected differ.
File "doc-nopkg.md", line 1, characters 0-0:
Error: Files _build/default/doc-nopkg.md and
_build/default/.mdx/doc-nopkg.md.corrected differ.
[1]
In the following test doc-a is not checked because it is not part of package b
$ dune runtest --only-packages b
File "doc-b.md", line 1, characters 0-0:
Error: Files _build/default/doc-b.md and
_build/default/.mdx/doc-b.md.corrected differ.
File "doc-nopkg.md", line 1, characters 0-0:
Error: Files _build/default/doc-nopkg.md and
_build/default/.mdx/doc-nopkg.md.corrected differ.
[1]