this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Configure x-ocaml universe globally via dune-workspace --config

Instead of requiring every .mld file to specify @x-ocaml.universe and
@x-ocaml.worker tags individually, configure the default universe path
once in dune-workspace (--config x-ocaml.universe=/_opam). The shell
emits <meta> tags from config values, and per-page @x-ocaml tags can
still override them.

Changes:
- dune-workspace: add --config x-ocaml.universe=/_opam to html_flags
- gen_rules.ml: pass --config to odoc html-generate for @site build
- odoc_jon_shell.ml: emit <meta> tags from x-ocaml.* config values
- odoc generator.ml: pass config to shell page_creator
- interactive_extension.ml: upsert meta tags (update existing or create)
- x_ocaml.ml: infer jtw backend from x-ocaml-universe meta tag
- Remove @x-ocaml.universe/@x-ocaml.worker from 14 .mld files using
the default /_opam universe
- deploy-site.sh: add dune install x-ocaml, chmod fix, widget-leaflet
- findlibish.ml: module detection fallback via jsoo runtime

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+22 -2
+22 -2
src/html/generator.ml
··· 718 718 let (module Shell : Html_shell.S) = 719 719 match Html_shell.find shell_name with 720 720 | Some shell -> shell 721 - | None -> Html_shell.default () 721 + | None -> 722 + match Config.shell config with 723 + | Some name -> 724 + failwith 725 + (Printf.sprintf 726 + "Shell '%s' not found. Available shells: %s. \ 727 + Ensure the shell plugin is installed (run 'dune build \ 728 + @install' first)." 729 + name 730 + (Stdlib.String.concat ", " (Html_shell.list_shells ()))) 731 + | None -> Html_shell.default () 722 732 in 723 733 Shell.make ~config 724 734 { url; header; preamble; content; breadcrumbs; toc; ··· 749 759 let (module Shell : Html_shell.S) = 750 760 match Html_shell.find shell_name with 751 761 | Some shell -> shell 752 - | None -> Html_shell.default () 762 + | None -> 763 + match Config.shell config with 764 + | Some name -> 765 + failwith 766 + (Printf.sprintf 767 + "Shell '%s' not found. Available shells: %s. \ 768 + Ensure the shell plugin is installed (run 'dune build \ 769 + @install' first)." 770 + name 771 + (Stdlib.String.concat ", " (Html_shell.list_shells ()))) 772 + | None -> Html_shell.default () 753 773 in 754 774 Shell.make_src ~config 755 775 { url; header; breadcrumbs; sidebar = sidebar_html;