Vendor the ReadTheOrg theme for the HTML docs export#530
Merged
Conversation
7c518dc to
88c202b
Compare
Fetching the theme from fniessen.github.io at build time broke twice when upstream restructured its repo. Copy the needed setup file, CSS, and JS (org-html-themes @ 8a87654, GPL-3.0) into docs/org-html-themes/ and have make html copy the asset tree into public/, so the docs build no longer needs network access. docs/ is not part of the MELPA recipe, so nothing ships in the package.
88c202b to
9ba0a27
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fetching the theme from fniessen.github.io at build time broke twice when upstream restructured its repo (most recently on 2026-07-10, which left https://dakra.github.io/ghostel/ unthemed until 2ec1c0c).
This vendors the needed setup file, CSS, and JS from org-html-themes @ 8a87654 (GPL-3.0, same as this repo) into
docs/org-html-themes/, using upstream's local-paths setup variant.make htmlnow copies the asset tree intopublic/so the relative links resolve, and the docs build needs no network access for the theme.Notes:
docs/is not matched by the MELPA recipe, so nothing ships in the package (vendor/andetc/do ship, hence the new directory).readtheorg.cssare intentionally left remote to keep the vendored files verbatim upstream copies.make htmlhas zero fniessen references, all referenced assets exist underpublic/src/, and the served site renders fully themed in a browser.