Skip to content

relativePaths: Allow links to root#202

Merged
janezd merged 1 commit intobiolab:masterfrom
janezd:links-to-root
Mar 3, 2026
Merged

relativePaths: Allow links to root#202
janezd merged 1 commit intobiolab:masterfrom
janezd:links-to-root

Conversation

@janezd
Copy link
Contributor

@janezd janezd commented Mar 3, 2026

All absolute links (e.g. beginning with /) are made relative to the publisher (e.g. the repo). We generally don't allow including chapters and books from other repos in ingestion because this is too fragile and can break ingestion. We may however allow links to other publishers (e.g. <a> or markdown links): this won't break ingestion.

Another use-case (that actually inspired this PR) is a site that blends Notes into a static site (like Pumice).

To distinguish the existing "absolute" links from real absolute links, they must begin with double slash.

@janezd janezd merged commit b065810 into biolab:master Mar 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant