My aggregated monorepo of OCaml code, automaintained
at main2 21 lines 738 B view raw
1(lang dune 3.21) 2 3; Shell configuration for odoc HTML generation. 4; 5; html_flags are applied globally to all packages in `dune build @doc`. 6; Per-package shell selection is not currently possible within a single 7; build invocation. For production, a two-pass build (first with 8; --shell docsite for reference docs, then --shell jon-shell for site 9; content) or upstream per-package html_flags support would be needed. 10; 11; For this development branch, we use --shell jon-shell globally so 12; site content renders correctly. Reference docs will use the jon-shell 13; layout too, which is acceptable for development. 14 15(env 16 (dev 17 (odoc 18 (html_flags --shell jon-shell 19 --config x-ocaml.universe=/_opam) 20 (prefix reference) 21)))