Skip to content

Commit

Permalink
Fix make doc (#412)
Browse files Browse the repository at this point in the history
* install deps of kxclib for building doc

* copy kxclib-jsoo also

* add (melange (and :with-doc (>= 2.0.0)))

* remove unneeded line
  • Loading branch information
kxc-wraikny authored Jan 11, 2024
1 parent 0d69e18 commit d94c316
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions bindoj.opam
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
3 changes: 2 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

0 comments on commit d94c316

Please sign in to comment.