Skip to content

doc: the site names its release and serves master apart - #26

Merged
lneto merged 1 commit into
masterfrom
site_versions
Nov 22, 2026
Merged

lneto merged 1 commit into
masterfrom
site_versions

Conversation

@lneto

@lneto lneto commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Every page of luaebpf's site reads "master" in its header, though the site's root serves the v0.1 docs, because the build names no release.

With this change a release builds the site's root naming its own tag, so its header reads "luaebpf 0.1", and a push to master builds the master pages under master/, whose header reads "master" and links back to the release, as Lunatik's site does. A manual run of the workflow rebuilds the root from master under the latest release's name, which is how v0.1 gets its root: its own tree predates the site's config.ld. Nothing a script calls changes.

The site's pages named no release, so the header of every page read
"master" over the v0.1 docs, since Lunatik's template takes the release a
page belongs to from doc/.tags and the releases the site serves from
doc/.releases, and lists master beside them. A release now builds the
root with its tag in both, and a push to master builds master/ beside it,
naming the latest release, so the header's link to master and master's
link back to the release land, as on Lunatik's site. A dispatch rebuilds
the root from master under the latest release's name: v0.1's tree has no
config.ld, which came after it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lneto lneto added the complexity: small One line or one file, with a trivial or existing test label Nov 22, 2026
@lneto
lneto merged commit 23b3280 into master Nov 22, 2026
2 checks passed
@lneto
lneto deleted the site_versions branch November 22, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

complexity: small One line or one file, with a trivial or existing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant