Repository activity
40458 results across all weeks
[scrape] New OCaml Planet posts
New blog posts:
github-actions[scrape_platform_releases.yml] New Platform Releases
Automated changes by create-pull-request GitHub action
github-actionsfix: point ppx documentation link to latest version
On the Metaprogramming page, which is maybe the main (/ only?) one covering this topic and the one people visit when searching about it for OCaml, the link currently points to a 4-year-old version of the PPX library documentation page. As you may know, the docs have changed a lot since then and updating the link per-version would be tedious. This change make…
Khalid (@khalidbelk)package: bound doc-backend fetches and prefer status.json search-index digest (#3765)
What & why
Cuihtlauac Alvarado (@cuihtlauac)planet: disable dead lthms feed (soap.coffee)
What
Cuihtlauac Alvarado (@cuihtlauac)Build the shape reducer once rather than many times
We can share its caches as a result, which massively reduces allocation.
Jon Ludlam (@jonludlam)Document "dune mode" for odoc_driver
Nothing in https://ocaml.github.io/odoc/odoc-driver/index.html mentions that you can run dune exec -- odoc_driver to avoid having to install packages to document them.
Jon Ludlam (@jonludlam)Drop id wrapper
This simplification is the removal of an optimisation that's measurably unnecessary now. The end result is something that runs just as fast as before, but with a large decrease in memory and disk usage. The reduction in disk space is around 30% overall. The memory usage decreases by a lot less - around 5%.
Jon Ludlam (@jonludlam)Fix broken test for hidden paths
We were only checking if a type's parent was hidden, not the type's name itself.
Jon Ludlam (@jonludlam)Fix canonical chain search
This is an enabling PR - it allows people to fix the problems that happen when you write your own wrapper module that doesn't contain all of the library's modules. You should be able to put @canonical tags in the appropriate places after this.
Jon Ludlam (@jonludlam)Fix extended open support
2 related fixes for the "extended opens", with tests. Tests are committed failing then updated in the commit that fixes the behaviour.
Jon Ludlam (@jonludlam)Fix optional argument rendering in OCaml 5.5
In OCaml 5.5, optional arguments get wrapped in a TPoly constructor, confusing odoc. This results in rendering values such as:
Jon Ludlam (@jonludlam)Improve file magic handling
Before this change, the magic string was read by reading the number of bytes we're expecting to read based on our magic string. If ours happens to be a prefix of the real one (e.g. ours is 'odoc-3.1.0' and the real one is 'odoc-3.1.0-2-g12345789') then the check was succeeding and then the subsequent unmarshalling was failing.
Jon Ludlam (@jonludlam)Memoize docstring parsing
OxCaml's libraries tend to have a lot of repeated comments due to ppx_template. This PR memoizes the parsing and skips resolving if they don't need it. On Container_intf in base:
Jon Ludlam (@jonludlam)Odoc compress payloads
Note: this branch includes the changes in both #1479 and #1375
Jon Ludlam (@jonludlam)Odoc merge word runs
Rather than storing comments as [Word "rather"; Space; Word "than"; Space; Word "storing";...] each of which actually also carries a location, store them as just one: [Word "rather than storing ..."]
Jon Ludlam (@jonludlam)Remove `Forward constructor
I was trying to understand what Forward does. To do so figure out where a value of Forward is constructed (from scratch, not as part of a map operation) and see what context this is useful. But it seems that such a value is never constructed. To test my hypothesis I removed the `Forward constructor from the codebase and it seems to compile fine and the te…
Marek Kubica (@Leonidas-from-XIV)Several driver fixes
A number of related fixes, mostly to the driver. There's one fix to odoc in the mix too. The commits should be independently reviewable.
Jon Ludlam (@jonludlam)Update Sherlodoc tests for tyxml 5.0.0
Let's fix that sea of red crosses.
Jon Ludlam (@jonludlam)`include functor` support for OxCaml
This PR is a follow up to #1368 and adds support for include functor where it now displays that the items were included via the functor.
Marek Kubica (@Leonidas-from-XIV)