Skip to content

Declare ocsigen-dune-rules as a build dependency#706

Open
balat wants to merge 2 commits into
masterfrom
lwt6-ocsigen-dune-rules-builddep
Open

Declare ocsigen-dune-rules as a build dependency#706
balat wants to merge 2 commits into
masterfrom
lwt6-ocsigen-dune-rules-builddep

Conversation

@balat

@balat balat commented Jun 8, 2026

Copy link
Copy Markdown
Member

The build runs the ocsigen-dune-rules generator but never declared it; a clean opam install failed with 'Program ocsigen-dune-rules not found'.

balat added 2 commits June 5, 2026 14:58
- Convert <<a_api>>/<<a_manual>> wikidoc refs in src/os_*.{eliomi,eliom}
  to native odoc references ({!Module}/{{!page-X}}).
- Add doc/intro.mld (converted from wikidoc doc/6.x/manual/intro.wiki),
  doc/index.mld (landing page) and doc/dune declaring them in the
  ocsigen-start package, so manual + API build together with odoc and
  cross-references resolve.

Built by wodoc for ocsigen.org; ignored markers keep the source valid
for ocaml.org's stock odoc.
The build invokes the ocsigen-dune-rules code generator via (run
ocsigen-dune-rules .) but never declared it as a dependency, so a clean
opam install failed with "Program ocsigen-dune-rules not found".
@balat balat changed the base branch from latest-mli-odoc to master June 8, 2026 19:39

@Julow Julow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't make sense. Ocsigen-dune-rules is vendored

@balat

balat commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

I probably chose the wrong base branch for the PR. It is supposed to fix an issue with recent versions where it is not vendored any more. I'll fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants