Skip to content

Use absolute URLs for cross-site nav links - #7

Open
siavashzaid wants to merge 1 commit into
mainfrom
absoluteLinks
Open

Use absolute URLs for cross-site nav links#7
siavashzaid wants to merge 1 commit into
mainfrom
absoluteLinks

Conversation

@siavashzaid

Copy link
Copy Markdown

Summary

_NAV_LINKS in acoular_sphinx/__init__.py uses root-relative paths
(/acoular/, /spectacoular/, /contributing/) for the shared
organization navbar. These only resolve correctly when the consuming
site is served from the domain root (www.acoular.org). Any package
docs hosted elsewhere — e.g. AcouPipe at
adku1173.github.io/acoupipe/ — get 404s on those links.

Change

Rewrites all _NAV_LINKS entries to absolute https://www.acoular.org/...
URLs, matching how AcouPipe, Blog, and Community are already
defined.

Impact

Consumers currently working around this by rewriting nav links in
their own conf.py (e.g. AcouPipe) can drop that workaround once they
bump to the release containing this change.

@artpelling

Copy link
Copy Markdown
Member

Thanks for the PR but I don't think that we want this. AcouPipe and the blog will soon be absorbed into acoular.org. We will do this asap once Adam is back. Then, all links should work cleanly leaving only Community to link to GitHub Discussions.

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.

2 participants