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.