diff --git a/Makefile b/Makefile index 79cc23f..a189afd 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,7 @@ _doc: rm -rf doc/app/public/html cp -r _build/default/_doc/_html doc/app/public/html cp -r vendors/kxclib/_build/default/_doc/_html/kxclib doc/app/public/html/kxclib + cp -r vendors/kxclib/_build/default/_doc/_html/kxclib-jsoo doc/app/public/html/kxclib-jsoo rm -rf doc/example cp -r _build/default/example/docs doc/example diff --git a/bindoj.opam b/bindoj.opam index f61bdac..6c9528c 100644 --- a/bindoj.opam +++ b/bindoj.opam @@ -45,6 +45,7 @@ depends: [ "ocamlformat" {with-test & = "0.26.0"} "ocaml" {>= "4.14"} "cohttp-lwt-unix" {with-test} + "melange" {with-doc & >= "2.0.0"} ] build: [ ["dune" "subst"] {dev} diff --git a/dune-project b/dune-project index 1eacbcf..595d82c 100644 --- a/dune-project +++ b/dune-project @@ -49,4 +49,5 @@ (bisect_ppx (>= 2.7.1)) (ocamlformat (and :with-test (= 0.26.0))) (ocaml (>= 4.14)) - (cohttp-lwt-unix :with-test))) + (cohttp-lwt-unix :with-test) + (melange (and :with-doc (>= 2.0.0)))))