Skip to content

Commit 177db47

Browse files
committed
Require sherlodoc for search bar
This requires `dune` 3.14, `odoc` 2.4.1, and `sherlodoc` 0.2 so that generated documentation should include the new search bar.
1 parent 5888868 commit 177db47

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

dune-project

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(lang dune 3.9)
1+
(lang dune 3.14)
22
(name saturn)
33
(generate_opam_files true)
44
(implicit_transitive_deps false)
@@ -22,7 +22,9 @@
2222
(qcheck-stm (and (>= 0.3) :with-test))
2323
(qcheck-alcotest (and (>= 0.21.3) :with-test))
2424
(yojson (and (>= 2.0.2) :with-test))
25-
(dscheck (and (>= 0.4.0) :with-test))))
25+
(dscheck (and (>= 0.4.0) :with-test))
26+
(sherlodoc (and (>= 0.2) :with-doc))
27+
(odoc (and (>= 2.4.1) :with-doc))))
2628
(package
2729
(name saturn_lockfree)
2830
(synopsis "Collection of lock-free data structures for Multicore OCaml")
@@ -38,4 +40,6 @@
3840
(qcheck-multicoretests-util (and (>= 0.3) :with-test))
3941
(qcheck-alcotest (and (>= 0.21.3) :with-test))
4042
(yojson (and (>= 2.0.2) :with-test))
41-
(dscheck (and (>= 0.4.0) :with-test))))
43+
(dscheck (and (>= 0.4.0) :with-test))
44+
(sherlodoc (and (>= 0.2) :with-doc))
45+
(odoc (and (>= 2.4.1) :with-doc))))

saturn.opam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ homepage: "https://github.com/ocaml-multicore/saturn"
99
doc: "https://ocaml-multicore.github.io/saturn/"
1010
bug-reports: "https://github.com/ocaml-multicore/saturn/issues"
1111
depends: [
12-
"dune" {>= "3.9"}
12+
"dune" {>= "3.14"}
1313
"ocaml" {>= "4.13"}
1414
"domain_shims" {>= "0.1.0" & with-test}
1515
"saturn_lockfree" {= version}
@@ -22,7 +22,8 @@ depends: [
2222
"qcheck-alcotest" {>= "0.21.3" & with-test}
2323
"yojson" {>= "2.0.2" & with-test}
2424
"dscheck" {>= "0.4.0" & with-test}
25-
"odoc" {with-doc}
25+
"sherlodoc" {>= "0.2" & with-doc}
26+
"odoc" {>= "2.4.1" & with-doc}
2627
]
2728
build: [
2829
["dune" "subst"] {dev}

saturn_lockfree.opam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ homepage: "https://github.com/ocaml-multicore/saturn"
88
doc: "https://ocaml-multicore.github.io/saturn/"
99
bug-reports: "https://github.com/ocaml-multicore/saturn/issues"
1010
depends: [
11-
"dune" {>= "3.9"}
11+
"dune" {>= "3.14"}
1212
"ocaml" {>= "4.13"}
1313
"domain_shims" {>= "0.1.0" & with-test}
1414
"backoff" {>= "0.1.0"}
@@ -21,7 +21,8 @@ depends: [
2121
"qcheck-alcotest" {>= "0.21.3" & with-test}
2222
"yojson" {>= "2.0.2" & with-test}
2323
"dscheck" {>= "0.4.0" & with-test}
24-
"odoc" {with-doc}
24+
"sherlodoc" {>= "0.2" & with-doc}
25+
"odoc" {>= "2.4.1" & with-doc}
2526
]
2627
build: [
2728
["dune" "subst"] {dev}

0 commit comments

Comments
 (0)