My aggregated monorepo of OCaml code, automaintained

Fix sidebar package names and indentation in odoc-docsite

Add index.mld files for all packages that were missing them, which
caused odoc to generate default pages titled "<package> index". Also
fix leaf item indentation by always adding a spacer span regardless
of the node kind.

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

+65 -2
+2
day10/doc/day10-web/dune
··· 1 + (documentation 2 + (package day10-web))
+1
day10/doc/day10-web/index.mld
··· 1 + {0 Advent of Code Day 10 (Web)}
+2
day10/doc/dune
··· 1 + (documentation 2 + (package day10))
+1
day10/doc/index.mld
··· 1 + {0 Advent of Code Day 10}
+2
doc/dune
··· 1 + (documentation 2 + (package root))
+1
doc/index.mld
··· 1 + {0 OCaml package documentation}
+2
js_top_worker/doc/dune
··· 1 + (documentation 2 + (package js_top_worker))
+1
js_top_worker/doc/index.mld
··· 1 + {0 OCaml toplevel as a Web Worker}
+2
js_top_worker/doc/js_top_worker-bin/dune
··· 1 + (documentation 2 + (package js_top_worker-bin))
+1
js_top_worker/doc/js_top_worker-bin/index.mld
··· 1 + {0 js_top_worker CLI tools}
+2
js_top_worker/doc/js_top_worker-client/dune
··· 1 + (documentation 2 + (package js_top_worker-client))
+1
js_top_worker/doc/js_top_worker-client/index.mld
··· 1 + {0 js_top_worker client library}
+2
js_top_worker/doc/js_top_worker-rpc/dune
··· 1 + (documentation 2 + (package js_top_worker-rpc))
+1
js_top_worker/doc/js_top_worker-rpc/index.mld
··· 1 + {0 js_top_worker RPC protocol}
+2
js_top_worker/doc/js_top_worker-unix/dune
··· 1 + (documentation 2 + (package js_top_worker-unix))
+1
js_top_worker/doc/js_top_worker-unix/index.mld
··· 1 + {0 js_top_worker Unix backend}
+2
js_top_worker/doc/js_top_worker-web/dune
··· 1 + (documentation 2 + (package js_top_worker-web))
+1
js_top_worker/doc/js_top_worker-web/index.mld
··· 1 + {0 js_top_worker Web backend}
+2
js_top_worker/doc/js_top_worker-widget-leaflet/dune
··· 1 + (documentation 2 + (package js_top_worker-widget-leaflet))
+1
js_top_worker/doc/js_top_worker-widget-leaflet/index.mld
··· 1 + {0 js_top_worker Leaflet widget}
+2
js_top_worker/doc/js_top_worker-widget/dune
··· 1 + (documentation 2 + (package js_top_worker-widget))
+1
js_top_worker/doc/js_top_worker-widget/index.mld
··· 1 + {0 js_top_worker widget library}
+2
jsoo-code-mirror/doc/dune
··· 1 + (documentation 2 + (package code-mirror))
+1
jsoo-code-mirror/doc/index.mld
··· 1 + {0 CodeMirror bindings for js_of_ocaml}
+2
merlin-js/doc/dune
··· 1 + (documentation 2 + (package merlin-js))
+1
merlin-js/doc/index.mld
··· 1 + {0 Merlin for JavaScript targets}
+2
mime_printer/doc/dune
··· 1 + (documentation 2 + (package mime_printer))
+1
mime_printer/doc/index.mld
··· 1 + {0 MIME type printer}
+2
odoc-docsite/doc/dune
··· 1 + (documentation 2 + (package odoc-docsite))
+1
odoc-docsite/doc/index.mld
··· 1 + {0 odoc documentation site shell}
+1 -2
odoc-docsite/src/odoc_docsite_js.ml
··· 68 68 '</div>'; 69 69 } else if (node.url) { 70 70 // Leaf nodes: add spacer for alignment with expandable items 71 - var spacer = (node.kind === 'package' || node.kind === 'module') 72 - ? '<span class="sidebar-toggle-spacer"></span>' : ''; 71 + var spacer = '<span class="sidebar-toggle-spacer"></span>'; 73 72 return '<a class="sidebar-link sidebar-leaf' + (isActive ? ' active' : '') + '" href="' + BASE_URL + node.url + '" data-nav="' + node.url + '">' + spacer + badge + contentHtml + '</a>'; 74 73 } else { 75 74 return '<span class="sidebar-link">' + badge + contentHtml + '</span>';
+1
odoc-interactive-extension/doc/index.mld
··· 1 + {0 Interactive OCaml Extension for odoc}
+2
odoc/doc/odoc-bench/dune
··· 1 + (documentation 2 + (package odoc-bench))
+1
odoc/doc/odoc-bench/index.mld
··· 1 + {0 odoc benchmarks}
+2
odoc/doc/odoc-md/dune
··· 1 + (documentation 2 + (package odoc-md))
+1
odoc/doc/odoc-md/index.mld
··· 1 + {0 odoc Markdown output}
+2
odoc/doc/odoc-parser/dune
··· 1 + (documentation 2 + (package odoc-parser))
+1
odoc/doc/odoc-parser/index.mld
··· 1 + {0 odoc comment parser}
+2
odoc/doc/sherlodoc/dune
··· 1 + (documentation 2 + (package sherlodoc))
+1
odoc/doc/sherlodoc/index.mld
··· 1 + {0 Sherlodoc search engine}
+2
x-ocaml/doc/dune
··· 1 + (documentation 2 + (package x-ocaml))
+1
x-ocaml/doc/index.mld
··· 1 + {0 OCaml notebooks as a WebComponent}
+2
x-ocaml/doc/ppxlib_register/dune
··· 1 + (documentation 2 + (package ppxlib_register))
+1
x-ocaml/doc/ppxlib_register/index.mld
··· 1 + {0 ppxlib registration helper}