-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add list to conf.py
to skip _file_checksum()
#11771
Comments
Just noting out actual need here: We always publish the latest version of the docs to the same stable URL: https://docs.bokeh.org/en/latest/index.html If we don't add a query argument like Another option would be to alter the filename on every build e.g. |
Hi @bryevdv, The file checksum function is intended for use in cache busting too, as the checksum will change every time your CSS stylesheet changes. Sorry to have caused you/bokeh issues here. If you’re still wanting to support Sphinx 7.0 and earlier, perhaps you could add your own custom cache busting behind a If you use the version tag for something else and I’ve misunderstood, please let me know & we’ll try and fix this. Thanks, |
HI @AA-Turner we updated to 7.1 and I this in our latest dev docs so I think things are all good now |
Wonderful, thanks Bryan! A |
Is your feature request related to a problem? Please describe.
Creating the docs with Sphinx 7.2.0 and later causes a
ThemeError
in the bokeh project. See #13548 for more details.This is because
html_css_files = [f"custom.css?v={version}"]
is part of the projectsconf.py
and the function_file_checksum()
introduced in Raise an error when local asset files contain a?
will raise the mentionedThemeError
.I have also found the two issues #11598 and #11658 having related problems.
Describe the solution you'd like
I would suggest to add a new variable to the
conf.py
to skip the creation of checksum for all strings in this list.Maybe something like:
Otherwise it would be ok to hard code the skip for the 'custom.css'.
The text was updated successfully, but these errors were encountered: