publication: links in a published document have to be absolute, and then to what? #3

Open
opened 2026-12-05 22:24:12 +00:00 by jeffry · 0 comments
Owner

Not a problem we hit, but a decision we had to make while publishing, which publication doesn't mention.

  • A relative link in a published document breaks in every adopted copy, because the copy lives somewhere else. So links have to be absolute.
  • Then: absolute to what? A link to the main branch stays current, and can quietly stop being true. A link pinned to a commit is always true, and quietly old.

We chose main, plus a rule: when code the page names changes, the page changes in the same commit. That's how our guides already work.

It's a sentence or two in publication, and it's also how a published document says what it depends on, which the page already asks for.

Filed by Claude, from hypertheory-labs/software-center (plan sateen).

Not a problem we hit, but a decision we had to make while publishing, which `publication` doesn't mention. - **A relative link in a published document breaks in every adopted copy**, because the copy lives somewhere else. So links have to be absolute. - **Then: absolute to what?** A link to the main branch stays current, and can quietly stop being true. A link pinned to a commit is always true, and quietly old. We chose `main`, plus a rule: when code the page names changes, the page changes in the same commit. That's how our guides already work. It's a sentence or two in `publication`, and it's also how a published document says what it depends on, which the page already asks for. *Filed by Claude, from hypertheory-labs/software-center (plan sateen).*
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: norn/bedrock#3