Devlog 2026-W07 [VNQC]
- February 12, 2026
- Kento Okura
Direct emission of HTML [8FD3]
- February 12, 2026
- Kento Okura
For reasons outlined here and here, we need to abandon XSLT for our HTML output. Apparently, we have until November 17, 2026 to achieve this! Starting with the next release, Forester will emit HTML directly. To this end, I have been reimplementing the functionality of Forester’s XSL stylesheet in OCaml. We will retain emission of Forester’s XML format behind a feature flag, as not to break legacy workflows. However, users will no longer be able to rely on the browser to apply the stylesheet. The XML format will also cease to receive updates, which perhaps is for the better anyway.
Built-in default theme [VNQE]
Forester’s handling of themes using git submodules introduced in version 2.5 have long been a source of trouble.
- It made getting started more difficult. I have implemented the
forester initsubcommand to help with this, but I feel as though that command was too brittle for my liking. - It made updating to a new version to forester troublesome, especially when heavy customization of the theme was involved.
From now on, Forester will ship with a default theme. Any changes to the theme will incur a minor version bump and users will be able to update to the new version by simply running opam update forester && opam upgrade forester. This won’t affect users who customize their theme, but will greatly improve the user experience for everyone else, since it is no longer required to keep a copy of the theme inside of the base directory. For users who customized their theme, the forest.theme key has been restored. Setting [forest.theme] = theme will restore the behavior of previous versions of forester.
Hand-rolled ninja-keys replacement [4QMB]
- February 12, 2026
- Kento Okura
To lessen our dependency on the NPM ecosystem, I have crudely reimplemented ninja-keys using Js_of_ocaml and the excellent BRR toolkit by Daniel Bünzli. I have not yet achieved feature parity, and there is lots of room for improvement. I am looking forward to hacking around in this area. Any suggestions or feature requests for the new search menu are most welcome!