Add versioned HTML index sources and systemd documentation - #137
Open
TheRealBecks wants to merge 1 commit into
Open
Add versioned HTML index sources and systemd documentation#137TheRealBecks wants to merge 1 commit into
TheRealBecks wants to merge 1 commit into
Conversation
This was referenced Sep 9, 2026
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.
Systemd's reference manuals live in DocBook XML, so indexing its Markdown guides omits
systemctl,journalctl, unit configuration and most APIs. This implements the rendered-HTML approach proposed in #116: a versioned HTML-index source and two systemd registry packages.html-indexaccepts explicit numeric releases and an HTTPS URL with a{version}directory. It fetches the index's HTML links within that origin and directory, with bounded concurrency, timeouts, retries, response/page limits, and redirects checked before following them. Failed downloads fail the build.systemd/systemd@258supplies the reference manuals;systemd/systemd-guides@latestsupplies the guides from Git tagv258. Registry documentation explains the source schema, limits and cache refresh procedure.Live validation also exposed that Turndown flattens DocBook's bare
<pre>elements. A small HTML-parser fix preserves these as fenced code blocks, with regression tests and a patch changeset.Validation:
pnpm install --frozen-lockfile,pnpm lint,pnpm build,pnpm test— passed; 317 tests.v258: 531 sections and 220,331 tokens; passed the CI registry-validation command.Versions are advanced deliberately in the definitions. Cached release content is reused until its cache is removed; no native XML processing is added.
Closes #116.