Skip to content

Commit 15ff3f0

Browse files
committed
Require sherlodoc for searchable documentation
1 parent fb78541 commit 15ff3f0

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

dune-project

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(lang dune 3.8)
1+
(lang dune 3.14)
22

33
(name multicore-bench)
44

@@ -24,8 +24,6 @@
2424
(synopsis
2525
"Framework for writing multicore benchmark executables to run on current-bench")
2626
(depends
27-
(ocaml
28-
(>= 4.13.0))
2927
(domain-local-await
3028
(>= 1.0.1))
3129
(multicore-magic
@@ -36,11 +34,20 @@
3634
(>= 2.1.0))
3735
(domain_shims
3836
(>= 0.1.0))
37+
;; Test dependencies
3938
(mdx
4039
(and
41-
(>= 2.3.1)
40+
(>= 2.4.0)
4241
:with-test))
42+
;; Documentation dependencies
43+
(sherlodoc
44+
(and
45+
(>= 0.2)
46+
:with-doc))
4347
(odoc
4448
(and
45-
(>= 2.2.0)
46-
:with-doc))))
49+
(>= 2.4.1)
50+
:with-doc))
51+
;; OCaml version
52+
(ocaml
53+
(>= 4.13.0))))

multicore-bench.opam

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ license: "ISC"
88
homepage: "https://github.com/ocaml-multicore/multicore-bench"
99
bug-reports: "https://github.com/ocaml-multicore/multicore-bench/issues"
1010
depends: [
11-
"dune" {>= "3.8"}
12-
"ocaml" {>= "4.13.0"}
11+
"dune" {>= "3.14"}
1312
"domain-local-await" {>= "1.0.1"}
1413
"multicore-magic" {>= "2.1.0"}
1514
"mtime" {>= "2.0.0"}
1615
"yojson" {>= "2.1.0"}
1716
"domain_shims" {>= "0.1.0"}
18-
"mdx" {>= "2.3.1" & with-test}
19-
"odoc" {>= "2.2.0" & with-doc}
17+
"mdx" {>= "2.4.0" & with-test}
18+
"sherlodoc" {>= "0.2" & with-doc}
19+
"odoc" {>= "2.4.1" & with-doc}
20+
"ocaml" {>= "4.13.0"}
2021
]
2122
build: [
2223
["dune" "subst"] {dev}

0 commit comments

Comments
 (0)