Repository activity
40458 results across all weeks
Content in data/ is implicitly UTF-8: document it, enforce it, and stop treating bytes as characters
Problem
Cuihtlauac Alvarado (@cuihtlauac)Contribute links pin to the build commit hash instead of `main`
Summary
Cuihtlauac Alvarado (@cuihtlauac)Data: precompute indexes over static data; consider immutable arrays for top-level collections
The data packer's output (Data_intf.All_data.t) is deserialized once at startup and never changes. Even so, request handlers keep recomputing things that depend only on that data, and every top-level collection is stored as a list.
Cuihtlauac Alvarado (@cuihtlauac)Documentation.http_get has no timeout — a hung docs backend hangs requests indefinitely
Found in an AI-assisted security/performance review of the MCP server code (#3775 follow-up), but this affects every consumer of the docs proxy (package pages, sidebar, status, search index), not just MCP.
Cuihtlauac Alvarado (@cuihtlauac)Extend mdx tutorial testing to the remaining tutorials
Follow-up to #3210 / #3622.
Cuihtlauac Alvarado (@cuihtlauac)Links whose content is code blocks do not show up as links
On the following screenshot of https://ocaml.org/docs/maps there are 4 links: "associative array" and "Functors" are obvious, but in fact specifically the first instance of Map and Map.Make are also links.
Basile Clément (@bclement-ocp)MCP review cleanups: GET/SSE docs mismatch, cache key, path example, escaping, XFF
A bundle of low-priority consistency fixes surfaced by an MCP code review. Grouping them per the review's suggestion of a single follow-up PR.
Cuihtlauac Alvarado (@cuihtlauac)OCaml Planet keyword search: tool, schema, faceted UI, scrape-time generation (#3875)
Implements keyword-based search over OCaml Planet blog posts (#3875).
Cuihtlauac Alvarado (@cuihtlauac)OCaml Planet: backfilled keywords for 2,378 existing posts (#3875)
The 2,378 backfilled post files for #3875 — keywords: front-matter blocks, plus a handful of recovered dead-link url: fixes — split out from the code PR #3907 so GitHub can render it. This is generated content touching ~2.4k files; it is not meant for line-by-line review.
Cuihtlauac Alvarado (@cuihtlauac)Package state: replace the Marshal cache with a storage + query layer and incremental refresh
Summary
Cuihtlauac Alvarado (@cuihtlauac)Per-package docs search: adopt odoc's native sherlodoc (type-aware) instead of MiniSearch over index.js
Summary
Cuihtlauac Alvarado (@cuihtlauac)Point contribute links at main; drop build-time git rev-parse
Fixes #3900.
Cuihtlauac Alvarado (@cuihtlauac)RFC: serve compiler/stdlib docs and search natively from CI-built odoc artifacts (path to closing #323)
Summary
Cuihtlauac Alvarado (@cuihtlauac)Replace custom operator definitions with standard `Result.Syntax` and `Option.Syntax` in tutorials
But it looks like site's playground OCaml version doesn't support them.
Kirill Alexander Khalitov (@Voronar)Replace the Str library with Re
Removes every use of the Str library and replaces it with Re, which is already a dependency. str is gone from all dune files.
Cuihtlauac Alvarado (@cuihtlauac)Require UTF-8 in data/ and enforce it in the packer and scrapers
Part of #3912, which is split into three PRs:
Cuihtlauac Alvarado (@cuihtlauac)Search in the Manual
The search box in the new (ie. ocaml.org hosted) manual is implemented not with a traditional form, but with some "modern" ajaxy widget. This is not helpful: it means no automation is possible, I have to actually switch to the browser and type in the search term, rather than snarfing it (for example) from my Emacs buffer and constructing a URL which could th…
ghostSearch result snippets cut multi-byte characters, producing invalid UTF-8
Problem
Cuihtlauac Alvarado (@cuihtlauac)Search results link to 404
When I search for some items, I end up getting a 404:
Nicholas Yang (@NicholasLYang)Search shortcut for package docs
The / shortcut appears to have been added to the top level search (#2739). However, there's no easy shortcut for searching in a docs page. Perhaps we can add an override for docs pages to have the / shortcut open the docs search? Or create a new shortcut for that. I know Rust's docs uses s as the shortcut.
Nicholas Yang (@NicholasLYang)