Organisationsocamlodoc

odoc

https://github.com/ocaml/odoc
Refs Branches (4)
Fix URL remapping for page references
Fix URL remapping for page references Page links were not being remapped because the remap prefix check only matched against the directory path. For modules, the module name is part of the directory (e.g., prefix/otherpkg/Otherlib/index.html), so it matched. But for pages, the page name is in the filename (e.g., prefix/otherpkg/otherpage.html), leaving only prefix/otherpkg in the directory - which didn't match prefix/otherpkg/ due to the trailing slash. Fix by including the filename in the path used for prefix matching. Also normalize remap entries at config creation time (ensure trailing slashes) rather than on each lookup. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
e6019f
#1395
Upstream OxCaml
Fix ocamlformat
8fa44a
#1399
Fix #930
Further fixes for duplicate identifiers As well as during loading, we also have to handle `includes` with potentially duplicate identifiers during `lang_of.ml`. This commit moves the 'synthetic parent' functions into path.ml and uses them both in cmti.ml and lang_of.ml
b5ecda
#1400
Two bugfixes
Make all warnings respect --warn-error Previously, resolution failures in Errors.report used Lookup_failures.report_internal which hardcoded non_fatal:true, meaning they would never cause a build failure even when --warn-error was passed. Switch to Lookup_failures.report_warning so that all resolution failures (modules, types, references, etc.) respect --warn-error. Root errors (missing dependencies) retain their own separate handling via report_root. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4d53f5
#1402