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 your account
[Doc Bug] Bad link from Fairlearn logo #1134
Comments
I suspect that this is related to the logo link in |
I can help. If you look at the code for {% if not theme_logo.get("link") %}
{% set href = pathto(root_doc) %}
{% elif theme_logo.get("link").startswith("http") %}
{# Logo link is to external URL}
{% set href = theme_logo.get("link") %}
{% else %}
{# Logo link is to internal page #}
{% set href = pathto(theme_logo.get("link")) %}
{% endif %} The line They have fixed it in the latest version - pydata/pydata-sphinx-theme#921 We can thus either upgrade to the latest version or just override the template with required fix. |
I wouldn't object to updating to the latest version of the theme. @adrinjalali do you have any concerns, since you were the last person tangling with the doc build? |
Thanks for the detective work @iofall ! |
It's complicated, we have been doing a branch per release. We can have a PR to that branch for the fix, but hopefully with the coming release it wouldn't be as urgent. I don't mind having it fixed on that branch though. I just didn't want to push to all those branches. |
Now that the release is done, we can fix this by:
What do you think? |
I'd be happy to see this fixed on main. We could even cherry pick to the release branch |
Ok great, working on it. But I don't think we need it on the release branch, right? The docs will now remain the same for v8.0, so I was thinking of making a one-off commit to just manually change the link there. Because even if we change it on the release branch, we will still have to manually trigger the doc build for v8.0 (as far as I know). |
Any commits to the release branch should automatically trigger a doc build and push. |
Describe the bug
Going to the 'main' branch of the documentation, the Fairlearn logo has a bad link
Steps/Code to Reproduce
This image has a link target of:
https://fairlearn.org/main/https%3A//fairlearn.org.html
Expected Results
Actual Results
Screenshots
Versions
The text was updated successfully, but these errors were encountered: