Skip to content

fix(cli): put --base-href in front of root-relative links - #47

Merged
Shewart merged 1 commit into
mainfrom
fix/base-href-links
Oct 14, 2026
Merged

Shewart merged 1 commit into
mainfrom
fix/base-href-links

Conversation

@Shewart

@Shewart Shewart commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Root-relative links (/docs/introduction) ignore , so the sidebar, breadcrumb, header, prev/next, content links and favicons of an export built with --base-href /my-repo/ pointed outside the site. shelldocs build now prefixes root-relative href, src and data-src values in every exported page.

Fixes #40

Root-relative links (/docs/introduction) ignore <base href>, so the
sidebar, breadcrumb, header, prev/next, content links and favicons of an
export built with --base-href /my-repo/ pointed outside the site.
shelldocs build now prefixes root-relative href, src and data-src values
in every exported page.

Fixes #40
@Shewart
Shewart merged commit e7ca2ee into main Oct 14, 2026
1 check passed
@Shewart
Shewart deleted the fix/base-href-links branch October 14, 2026 13:42
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.

Sidebar links ignore <base href> on sites served from a sub-path

1 participant