Skip to content

Commit fc24f99

Browse files
committed
Require sherlodoc and dune 3.14
The new dune has sherlodoc integration to produce HTML documentation with a search bar.
1 parent de04533 commit fc24f99

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

dune-project

+11-3
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 kcas)
44

@@ -52,9 +52,13 @@
5252
(and
5353
(>= 2.3.0)
5454
:with-test))
55+
(sherlodoc
56+
(and
57+
(>= 0.2)
58+
:with-doc))
5559
(odoc
5660
(and
57-
(>= 2.2.0)
61+
(>= 2.4.1)
5862
:with-doc))))
5963

6064
(package
@@ -100,7 +104,11 @@
100104
(and
101105
(>= 2.3.0)
102106
:with-test))
107+
(sherlodoc
108+
(and
109+
(>= 0.2)
110+
:with-doc))
103111
(odoc
104112
(and
105-
(>= 2.2.0)
113+
(>= 2.4.1)
106114
:with-doc))))

kcas.opam

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ license: "ISC"
1616
homepage: "https://github.com/ocaml-multicore/kcas"
1717
bug-reports: "https://github.com/ocaml-multicore/kcas/issues"
1818
depends: [
19-
"dune" {>= "3.8"}
19+
"dune" {>= "3.14"}
2020
"ocaml" {>= "4.13.0"}
2121
"backoff" {>= "0.1.0"}
2222
"domain-local-await" {>= "1.0.1"}
@@ -25,7 +25,8 @@ depends: [
2525
"domain_shims" {>= "0.1.0" & with-test}
2626
"alcotest" {>= "1.7.0" & with-test}
2727
"mdx" {>= "2.3.0" & with-test}
28-
"odoc" {>= "2.2.0" & with-doc}
28+
"sherlodoc" {>= "0.2" & with-doc}
29+
"odoc" {>= "2.4.1" & with-doc}
2930
]
3031
build: [
3132
["dune" "subst"] {dev}

kcas_data.opam

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ license: "ISC"
1616
homepage: "https://github.com/ocaml-multicore/kcas"
1717
bug-reports: "https://github.com/ocaml-multicore/kcas/issues"
1818
depends: [
19-
"dune" {>= "3.8"}
19+
"dune" {>= "3.14"}
2020
"kcas" {= version}
2121
"multicore-magic" {>= "2.1.0"}
2222
"backoff" {>= "0.1.0" & with-test}
@@ -27,7 +27,8 @@ depends: [
2727
"qcheck-core" {>= "0.21.2" & with-test}
2828
"qcheck-stm" {>= "0.3" & with-test}
2929
"mdx" {>= "2.3.0" & with-test}
30-
"odoc" {>= "2.2.0" & with-doc}
30+
"sherlodoc" {>= "0.2" & with-doc}
31+
"odoc" {>= "2.4.1" & with-doc}
3132
]
3233
build: [
3334
["dune" "subst"] {dev}

0 commit comments

Comments
 (0)