tag:github.com,2008:https://github.com/ocaml/odoc/releasesTags from odoc2025-07-15T16:48:59Ztag:github.com,2008:Repository/61213211/3.1.02025-07-15T16:49:40Z3.1.0<p>Release 3.1.0</p>
<p>CHANGES:</p>
<p>- Exposed sherlodoc libraries for use in other projects (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1349">#1349</a>)
<br />- OCaml 5.4.0 support (<a class="user-mention notranslate" href="https://github.com/Octachron">@Octachron</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1355">#1355</a>)
<br />- New arguments to LaTeX generator, --shorten-beyond-depth and
<br /> --remove-functor-arg-link (<a class="user-mention notranslate" href="https://github.com/Octachron">@Octachron</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1337">#1337</a>)
<br />- New experimental markdown generator (<a class="user-mention notranslate" href="https://github.com/davesnx">@davesnx</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1341">#1341</a>)</p>
<p>- Remove cmdliner compatibility layer, no longer needed (<a class="user-mention notranslate" href="https://github.com/dbuenzli">@dbuenzli</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1328">#1328</a>)
<br />- Drop support for OCaml < 4.08 (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1300">#1300</a>)
<br />- Allow referencing libraries from package added in `odoc-config.sexp`
<br /> (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1343">#1343</a>)
<br />- Use full path in heading labels in LaTeX backend (<a class="user-mention notranslate" href="https://github.com/Octachron">@Octachron</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1332">#1332</a>)
<br />- Separate page from anchor in LaTeX labels to prevent collisions (<a class="user-mention notranslate" href="https://github.com/Octachron">@Octachron</a>,
<br /> <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1337">#1337</a>)</p>
<p>- Fix bug in parsing META files when there are no dependencies (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1352">#1352</a>)
<br />- <span class="issue-keyword tooltipped tooltipped-se">Fix</span> <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/issues/1335">#1335</a> - incorrect rendering when on medium screen size with no global
<br /> sidebar (<a class="user-mention notranslate" href="https://github.com/lukemaurer">@lukemaurer</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1361">#1361</a>)
<br />- Fixed generation of occurrences for docs CI (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1362">#1362</a>)
<br />- Partial fix for <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/issues/1369">#1369</a> - ensure that we never create a link to a hidden page
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1370">#1370</a>)</p>jonludlamtag:github.com,2008:Repository/61213211/3.0.02025-03-18T11:24:55Z3.0.0<p>Release 3.0.0</p>
<p>CHANGES:</p>
<p>- Hierarchical documentation (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>). Pages can now be
<br /> organized in a directory tree structure. Relative and absolute references
<br /> are added: `{!./other_page.label}`, `{!//other_page}`.</p>
<p>- Improved sidebar and breadcrumbs navigation (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/gpetiot">@gpetiot</a>). The
<br /> documentation pages and the libraries of the entire package are shown on the
<br /> left sidebar.</p>
<p>- Added support for images, videos, audio and other assets. The syntax is
<br /> `{image!/reference/to/asset}` or `{image:URL}` for images. The syntax for
<br /> `{video...}` and `{audio...}` is the same. (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>,
<br /> <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1170">#1170</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1171">#1171</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1184">#1184</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1185">#1185</a>)</p>
<p>- Search using Sherlodoc (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>). A new search
<br /> bar that supports full-text and type-based search.</p>
<p>- Experimental driver (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>)
<br /> The driver builds the documentation for a collection of Opam packages using
<br /> the newer Odoc features. It supports linking external packages to ocaml.org
<br /> and markdown files.
<br /> This is experimental and will break in the future.</p>
<p>- Cross-package references (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>)
<br /> Pages and modules from other packages can be referenced:
<br /> `{!/otherpackage/page}`, `{!/otherpackage/Module.t}`.</p>
<p>- Option to remap links to other packages to ocaml.org or other site.
<br /> See the `--remap` option of the driver or the `--remap-file` option of
<br /> `odoc html-generate`. (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1189">#1189</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1248">#1248</a>)</p>
<p>- Option to compute occurrences of use of each identifiers
<br /> The commands `aggregate-occurrences` and `count-occurrences` are added.
<br /> (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/976">#976</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1076">#1076</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1206">#1206</a>)</p>
<p>- Added an `extract-code` subcommand to extract code blocks from mld/mli files
<br /> (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1326">#1326</a>)</p>
<p>- Added the `odoc classify` command (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1121">#1121</a>)
<br /> Helps driver detecting which modules belong to which libraries.
<br />- Added `--warnings-tag` options to the CLI to silence warnings from a unit,
<br /> even if they end up being raised in another unit through expansion
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1260">#1260</a>)
<br />- Add clock emoji before `@since` tag (<a class="user-mention notranslate" href="https://github.com/yawaramin">@yawaramin</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1089">#1089</a>)
<br />- Navigation for the search bar : use '/' to enter search, up and down arrows
<br /> to select a result, and enter to follow the selected link. (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>,
<br /> <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1088">#1088</a>)
<br />- Fix a big gap between the preamble and the content of a page
<br /> (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1147">#1147</a>)
<br />- Add a marshalled search index consumable by sherlodoc (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>,
<br /> <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1084">#1084</a>)
<br />- Allow referencing of polymorphic constructors in polymorphic variant type
<br /> aliases (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1115">#1115</a>)
<br />- Added a home icon in the breacrumbs (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1251">#1251</a>)
<br /> It can be disabled with a CLI option.
<br />- Add a frontmatter syntax for mld pages (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1187">#1187</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1193">#1193</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1243">#1243</a>,
<br /> <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1246">#1246</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1251">#1251</a>) Allows to specify the title of a page, the order of sub-pages
<br /> and other behaviors in the sidebar.
<br />- Added `odoc-md` to process standalone Markdown pages (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1234">#1234</a>)
<br />- Added CSS selectors to style version and and nav links when they appear
<br /> within page titles, as produced by odig (<a class="user-mention notranslate" href="https://github.com/katrinafyi">@katrinafyi</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1290">#1290</a>)
<br />- Added support for (local) images in the latex backend (<a class="user-mention notranslate" href="https://github.com/Octachron">@Octachron</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1297">#1297</a>)</p>
<p>- The command line interface changed to support the new features.
<br /> + Packages and libraries: `odoc link` must now be aware of packages and
<br /> libraries with the `-L libname:path` and `-P pkgname:path` options. The
<br /> module search path should still be passed with the `-I` option.
<br /> The current package should be specified with `--current-package=pkgname`.
<br /> + Hierarchy: `odoc compile` now outputs `.odoc` in the directory tree
<br /> specified with `--output-dir=DIR` and the parent identifier must be
<br /> specified with `--parent-id=PARENT`.
<br /> The option `--source-parent-file` is removed.
<br /> + Source code: Implementations are compiled with `compile-impl` instead of
<br /> with `compile`. The options `--cmt=..` and `--source-name=..` are removed.
<br /> Source code pages are generated with `html-generate-source`.
<br /> + Assets: The commands `compile-asset`, `html-generate-asset` are added.
<br /> The option `html-generate --asset` is removed.
<br /> + Sidebar: The index is built using `compile-index`. The sidebar data is
<br /> extracted from the index with `sidebar-generate` and passed to
<br /> `html-generate --sidebar=..`.</p>
<p>- The syntax for `@tag` is now delimited (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1239">#1239</a>)
<br /> A `@tag` can now be followed by a paragraph or other elements.</p>
<p>- Updated colors for code fragments (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1023">#1023</a>)
<br />- Fixed complexity of looking up `.odoc` files (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1075">#1075</a>)
<br />- Normalize whitespaces in codespans (<a class="user-mention notranslate" href="https://github.com/gpetiot">@gpetiot</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1085">#1085</a>)
<br /> A newline followed by any whitespaces is normalized as one space character.
<br />- Reduce size of `Odoc_html_frontend` when compiled to javascript
<br /> (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1072">#1072</a>)
<br />- Overhaul of module-type-of expansions and shadowing code (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1081">#1081</a>)
<br />- Output file paths and labels in the man and latex backends changed to avoid
<br /> name clashes (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1191">#1191</a>)
<br />- Added a `header` field to the json output (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1314">#1314</a>)
<br />- Changed indentation rules for code block and verbatim content (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>,
<br /> <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1317">#1317</a>)
<br />- odoc-parser: Store raw content in verbatim and code block, and expose a
<br /> function to process it (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1325">#1325</a>)</p>
<p>- Fix variant constructors being hidden if they contain hidden types
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1105">#1105</a>)
<br />- Fix rare assertion failure due to optional parameters
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1272">#1272</a>, issue <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/issues/1001">#1001</a>)
<br />- Fix resolution of module synopses in {!modules} lists that require --open
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1104">#1104</a>}
<br />- Fix top comment not being taken from includes often enough (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1117">#1117</a>)
<br />- Fixed 404 links from search results (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1108">#1108</a>)
<br />- Fixed title content not being picked up across pages when rendering references
<br /> (<a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1116">#1116</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>)
<br />- Fix wrong links to standalone comments in search results (<a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1118">#1118</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>)
<br />- Remove duplicated or unwanted comments with inline includes (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1133">#1133</a>)
<br />- Fix bug where source rendering would cause odoc to fail completely if it
<br /> encounters invalid syntax (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a> <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1208">#1208</a>)
<br />- Add missing parentheses in 'val (let*) : ...' (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1268">#1268</a>)
<br />- Fix syntax highlighting not working for very large files
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1277">#1277</a>)
<br />- Fix backtrace on invalid input in compile-deps (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1313">#1313</a>)
<br />- Fix bug in our CSS hitting verbatim blocks in tags (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1312">#1312</a>)
<br />- Fix issue <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/issues/610">#610</a> where `odoc html-fragment` wasn't rendering headings correctly
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1306">#1306</a>)</p>jonludlamtag:github.com,2008:Repository/61213211/3.0.0_beta12025-01-23T12:01:02Z3.0.0~beta1<p>Release 3.0.0~beta1</p>
<p>CHANGES:</p>
<p>- Hierarchical documentation (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>)
<br /> Pages can now be organized in a directory tree structure.
<br /> Relative and absolute references are added:
<br /> `{!./other_page.label}`, `{!//other_page}`.</p>
<p>- Improved sidebar and breadcrumbs navigation (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/gpetiot">@gpetiot</a>)
<br /> The documentation pages and the libraries of the entire package are shown on
<br /> the left sidebar.</p>
<p>- Added support for images, videos, audio and other assets
<br /> The syntax is `{image!/reference/to/asset}` or `{image:URL}` for images.
<br /> The syntax for `{video...}` and `{audio...}` is the same.
<br /> (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1170">#1170</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1171">#1171</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1184">#1184</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1185">#1185</a>)</p>
<p>- Search using Sherlodoc (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>)
<br /> A new search bar that supports full-text and type-based search.</p>
<p>- Experimental driver (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>)
<br /> The driver builds the documentation for a collection of Opam packages using
<br /> the newer Odoc features. It supports linking external packages to ocaml.org
<br /> and markdown files.
<br /> This is experimental and will break in the future.</p>
<p>- Cross-package references (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>)
<br /> Pages and modules from other packages can be referenced:
<br /> `{!/otherpackage/page}`, `{!/otherpackage/Module.t}`.</p>
<p>- Option to remap links to other packages to ocaml.org or other site.
<br /> See the `--remap` option of the driver or the `--remap-file` option of `odoc html-generate`.
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1189">#1189</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1248">#1248</a>)</p>
<p>- Option to compute occurrences of use of each identifiers
<br /> The commands `aggregate-occurrences` and `count-occurrences` are added.
<br /> (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/976">#976</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1076">#1076</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1206">#1206</a>)</p>
<p>- Added the `odoc classify` command (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1121">#1121</a>)
<br /> Helps driver detecting which modules belong to which libraries.
<br />- Added `--suppress-warnings` to the CLI to remove warnings from a unit, even
<br /> if they end up being raised in another unit through expansion
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1260">#1260</a>)
<br />- Add clock emoji before `@since` tag (<a class="user-mention notranslate" href="https://github.com/yawaramin">@yawaramin</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1089">#1089</a>)
<br />- Navigation for the search bar : use '/' to enter search, up and down arrows to
<br /> select a result, and enter to follow the selected link. (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1088">#1088</a>)
<br />- Fix a big gap between the preamble and the content of a page (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1147">#1147</a>)
<br />- Add a marshalled search index consumable by sherlodoc (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1084">#1084</a>)
<br />- Allow referencing of polymorphic constructors in polymorphic variant type
<br /> aliases (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1115">#1115</a>)
<br />- Added a home icon in the breacrumbs (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1251">#1251</a>)
<br /> It can be disabled with a CLI option.
<br />- Add a frontmatter syntax for mld pages (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1187">#1187</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1193">#1193</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1243">#1243</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1246">#1246</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1251">#1251</a>)
<br /> Allows to specify the title of a page, the order of sub-pages and other
<br /> behaviors in the sidebar.
<br />- Added `odoc-md` to process standalone Markdown pages (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1234">#1234</a>)</p>
<p>- The command line interface changed to support the new features.
<br /> + Packages and libraries: `odoc link` must now be aware of packages and
<br /> libraries with the `-L libname:path` and `-P pkgname:path` options. The
<br /> module search path should still be passed with the `-I` option.
<br /> The current package should be specified with `--current-package=pkgname`.
<br /> + Hierarchy: `odoc compile` now outputs `.odoc` in the directory tree
<br /> specified with `--output-dir=DIR` and the parent identifier must be
<br /> specified with `--parent-id=PARENT`.
<br /> The option `--source-parent-file` is removed.
<br /> + Source code: Implementations are compiled with `compile-impl` instead of
<br /> with `compile`. The options `--cmt=..` and `--source-name=..` are removed.
<br /> Source code pages are generated with `html-generate-source`.
<br /> + Assets: The commands `compile-asset`, `html-generate-asset` are added.
<br /> The option `html-generate --asset` is removed.
<br /> + Sidebar: The index is built using `compile-index`. The sidebar data is
<br /> extracted from the index with `sidebar-generate` and passed to
<br /> `html-generate --sidebar=..`.</p>
<p>- The syntax for `@tag` is now delimited (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1239">#1239</a>)
<br /> A `@tag` can now be followed by a paragraph or other elements.</p>
<p>- Updated colors for code fragments (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1023">#1023</a>)
<br />- Fixed complexity of looking up `.odoc` files (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1075">#1075</a>)
<br />- Normalize whitespaces in codespans (<a class="user-mention notranslate" href="https://github.com/gpetiot">@gpetiot</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1085">#1085</a>)
<br /> A newline followed by any whitespaces is normalized as one space character.
<br />- Reduce size of `Odoc_html_frontend` when compiled to javascript
<br /> (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1072">#1072</a>)
<br />- Overhaul of module-type-of expansions and shadowing code (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1081">#1081</a>)
<br />- Output file paths and labels in the man and latex backends changed to avoid
<br /> name clashes (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1191">#1191</a>)</p>
<p>- Fix variant constructors being hidden if they contain hidden types
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1105">#1105</a>)
<br />- Fix rare assertion failure due to optional parameters
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1272">#1272</a>, issue <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/issues/1001">#1001</a>)
<br />- Fix resolution of module synopses in {!modules} lists that require --open
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1104">#1104</a>}
<br />- Fix top comment not being taken from includes often enough (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1117">#1117</a>)
<br />- Fixed 404 links from search results (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1108">#1108</a>)
<br />- Fixed title content not being picked up across pages when rendering references
<br /> (<a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1116">#1116</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>)
<br />- Fix wrong links to standalone comments in search results (<a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1118">#1118</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>)
<br />- Remove duplicated or unwanted comments with inline includes (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1133">#1133</a>)
<br />- Fix bug where source rendering would cause odoc to fail completely if it
<br /> encounters invalid syntax (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a> <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1208">#1208</a>)
<br />- Add missing parentheses in 'val (let*) : ...' (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1268">#1268</a>)
<br />- Fix syntax highlighting not working for very large files
<br /> (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1277">#1277</a>)</p>jonludlamtag:github.com,2008:Repository/61213211/2.4.42024-12-05T14:44:57Z2.4.4<p>Release 2.4.4</p>
<p>CHANGES:</p>
<p>- OCaml 5.3.0 compatibility (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1202">#1202</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1254">#1254</a>)</p>Julowtag:github.com,2008:Repository/61213211/2.4.32024-09-13T18:44:41Z2.4.3<p>Release 2.4.3</p>
<p>CHANGES:</p>
<p>- Fix missing katex headers (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1096">#1096</a>)
<br />- Allow `][` in code blocks, fixing issue <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/issues/1137">#1137</a> (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1149">#1149</a>)
<br /> This was interpreted as "code blocks with result", which now mandates a
<br /> delimiter: `{delim@lang[ code ]delim[ result ]}`
<br />- Fix misprinting of type variables from ml files for OCaml 4.14 and later
<br /> (multiple occurences of the same type variable could be named differently)
<br /> (<a class="user-mention notranslate" href="https://github.com/Octachron">@Octachron</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1173">#1173</a>)</p>jonludlamtag:github.com,2008:Repository/61213211/2.4.22024-04-29T12:29:29Z2.4.2<p>Release 2.4.2</p>
<p>CHANGES:</p>
<p>- OCaml 5.2.0 compatibility (<a class="user-mention notranslate" href="https://github.com/Octachron">@Octachron</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1094">#1094</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1112">#1112</a>)</p>
<p>- Fix issues <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/issues/1066">#1066</a> and <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/issues/1095">#1095</a> with extended opens (<a class="user-mention notranslate" href="https://github.com/jonludlam">@jonludlam</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1082">#1082</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1100">#1100</a>)</p>jonludlamtag:github.com,2008:Repository/61213211/2.4.12024-01-17T13:45:06Z2.4.1<p>Release 2.4.1</p>
<p>CHANGES:</p>panglesdtag:github.com,2008:Repository/61213211/2.4.02023-12-12T14:36:21Z2.4.0<p>Release 2.4.0</p>
<p>CHANGES:</p>
<p>- Add support for external search engines (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/972">#972</a>)
<br /> This includes the generation of an index and the display of the results in
<br /> the UI (HTML only).</p>
<p>- Display 'private' keyword for private type extensions (<a class="user-mention notranslate" href="https://github.com/gpetiot">@gpetiot</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1019">#1019</a>)
<br />- Allow to omit parent type in constructor reference (<a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>,
<br /> <a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/933">#933</a>)</p>
<p>- Warn and exit when table(s) is not closed (<a class="user-mention notranslate" href="https://github.com/lubegasimon">@lubegasimon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1050">#1050</a>)
<br />- Hint when list(s) is not closed (<a class="user-mention notranslate" href="https://github.com/lubegasimon">@lubegasimon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1050">#1050</a>)
<br />- Fix crash on functors returning an alias (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1046">#1046</a>)
<br />- Fix rendering of polymorphic variants (<a class="user-mention notranslate" href="https://github.com/wikku">@wikku</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/971">#971</a>)
<br />- Add references to extension declarations (<a class="user-mention notranslate" href="https://github.com/gpetiot">@gpetiot</a>, <a class="user-mention notranslate" href="https://github.com/panglesd">@panglesd</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/949">#949</a>)</p>
<p>- Style: Adjusted line height in the TOC to improve readability (<a class="user-mention notranslate" href="https://github.com/sorawee">@sorawee</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1045">#1045</a>)
<br />- Style: Remove font fallback to Helvetica, Arial (<a class="user-mention notranslate" href="https://github.com/Julow">@Julow</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1028">#1028</a>)
<br />- Style: Preformatted elements fallback to UA monospace (<a class="user-mention notranslate" href="https://github.com/toastal">@toastal</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/967">#967</a>)
<br />- Style: Sidebar is now stuck to the left of the content instead of the left of
<br /> the viewport (<a class="user-mention notranslate" href="https://github.com/EmileTrotignon">@EmileTrotignon</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/999">#999</a>)</p>Julowtag:github.com,2008:Repository/61213211/2.3.12023-10-26T14:52:12Z2.3.1<p>Release 2.3.1</p>
<p>CHANGES:</p>panglesdtag:github.com,2008:Repository/61213211/2.2.22023-10-26T14:41:43Z2.2.2<p>Release 2.2.2</p>
<p>CHANGES:</p>
<p>Additions
<br />- OCaml 5.1.0 further compatibility (<a class="user-mention notranslate" href="https://github.com/tmcgilchrist">@tmcgilchrist</a>, <a class="issue-link js-issue-link" href="https://github.com/ocaml/odoc/pull/1018">#1018</a>)</p>panglesd