-
Notifications
You must be signed in to change notification settings - Fork 296
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
Wrong version in warning banner #1445
Comments
It seems something went wrong with the fix: https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html |
That is actually a different problem related to #1416. I noticed too but I'm teaching today so I can't look until Friday |
This seems to be an issue at https://pydata-sphinx-theme.readthedocs.io/en/stable/ as well? |
How so? The dropdown in the stable docs says "choose version" not "unknown version" nor an incorrect version string. "Choose version" is the new fallback value in case the version match cannot be determined; again, that is a different problem than the OP reported and is tracked in #1416 |
https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html has a banner saying this is an unknown version and switch to stable, which lands you on the same page. |
ah! my apologies, I was focused on the dropdown switcher and didn't even notice the banner. Nonetheless I believe that the cause is still the problem described in #1416 --- it's difficult to debug as I haven't been able to replicate it on PR builds or local builds. |
Thanks for the report @xia-stan. Indeed we use the
I think this issue can be closed now, on the assumption that if |
The version compared and displayed in the warning banner is not the "version_match" attribute, but the theme version, as a result of #1394:
pydata-sphinx-theme/src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js
Line 432 in 4a29125
This result in the following image (note that the version of the banner is not the package version):
The text was updated successfully, but these errors were encountered: