Skip to content

Commit

Permalink
Require sherlodoc and dune 3.14
Browse files Browse the repository at this point in the history
The new dune has sherlodoc integration to produce HTML documentation with a
search bar.
  • Loading branch information
polytypic committed Feb 25, 2024
1 parent de04533 commit fc24f99
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
14 changes: 11 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 3.8)
(lang dune 3.14)

(name kcas)

Expand Down Expand Up @@ -52,9 +52,13 @@
(and
(>= 2.3.0)
:with-test))
(sherlodoc
(and
(>= 0.2)
:with-doc))
(odoc
(and
(>= 2.2.0)
(>= 2.4.1)
:with-doc))))

(package
Expand Down Expand Up @@ -100,7 +104,11 @@
(and
(>= 2.3.0)
:with-test))
(sherlodoc
(and
(>= 0.2)
:with-doc))
(odoc
(and
(>= 2.2.0)
(>= 2.4.1)
:with-doc))))
5 changes: 3 additions & 2 deletions kcas.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license: "ISC"
homepage: "https://github.com/ocaml-multicore/kcas"
bug-reports: "https://github.com/ocaml-multicore/kcas/issues"
depends: [
"dune" {>= "3.8"}
"dune" {>= "3.14"}
"ocaml" {>= "4.13.0"}
"backoff" {>= "0.1.0"}
"domain-local-await" {>= "1.0.1"}
Expand All @@ -25,7 +25,8 @@ depends: [
"domain_shims" {>= "0.1.0" & with-test}
"alcotest" {>= "1.7.0" & with-test}
"mdx" {>= "2.3.0" & with-test}
"odoc" {>= "2.2.0" & with-doc}
"sherlodoc" {>= "0.2" & with-doc}
"odoc" {>= "2.4.1" & with-doc}
]
build: [
["dune" "subst"] {dev}
Expand Down
5 changes: 3 additions & 2 deletions kcas_data.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license: "ISC"
homepage: "https://github.com/ocaml-multicore/kcas"
bug-reports: "https://github.com/ocaml-multicore/kcas/issues"
depends: [
"dune" {>= "3.8"}
"dune" {>= "3.14"}
"kcas" {= version}
"multicore-magic" {>= "2.1.0"}
"backoff" {>= "0.1.0" & with-test}
Expand All @@ -27,7 +27,8 @@ depends: [
"qcheck-core" {>= "0.21.2" & with-test}
"qcheck-stm" {>= "0.3" & with-test}
"mdx" {>= "2.3.0" & with-test}
"odoc" {>= "2.2.0" & with-doc}
"sherlodoc" {>= "0.2" & with-doc}
"odoc" {>= "2.4.1" & with-doc}
]
build: [
["dune" "subst"] {dev}
Expand Down

0 comments on commit fc24f99

Please sign in to comment.