8000 Update sidebar-nav-bs.html to try to fix links by psobolewskiPhD · Pull Request #702 · napari/docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update sidebar-nav-bs.html to try to fix links #702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to y 8000 our account

Merged
merged 2 commits into from
May 6, 2025

Conversation

psobolewskiPhD
Copy link
Member

References and relevant issues

Closes: #682
hopefully!

Description

Based off of: https://www.sphinx-doc.org/en/master/development/html_themes/templating.html#helper-functions
Trying to use pathto() to fix the links.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label May 2, 2025
@psobolewskiPhD
Copy link
Member Author

Looks like it worked, at least for dev docs.
Not sure yet how to fix deployed 0.6.0

@psobolewskiPhD psobolewskiPhD added this to the 0.6.1 milestone May 2, 2025
@psobolewskiPhD
Copy link
Member Author
psobolewskiPhD commented May 2, 2025

I guess we could try to merge this and then re-deploy to 0.6.0 folder using manual trigger?

@TimMonko
Copy link
Contributor
TimMonko commented May 4, 2025

You know more about how to correctly deploy this, but I have tested it and it does fix the sidebar links. Wonder how we let this slip through unnoticed.

Pretty neat that there are default Jinja functions in Sphinx

@DragaDoncila
Copy link
Contributor

Oh lit, I was just about to open an issue for this 😆 I'ma just merge instead

@DragaDoncila DragaDoncila merged commit bad41ff into napari:main May 6, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resources links (side bar) is broken when accessing from pages other than in the root
3 participants
0