-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
AttributeError: 'str' object has no attribute 'priority'
in Sphinx 3.5.0
#8885
Comments
Same here |
…ntext Since 3.5.0, priority has been added to control CSS/JS files. But it's not working if projects installs custom CSS/JS files via `html_context` instead of `html_css_files` and `html_js_files`. This avoids the crash to keep it "not broken".
Since Sphinx-1.8, configuration variables |
…ntext Since 3.5.0, priority has been added to control CSS/JS files. But it's not working if projects installs custom CSS/JS files via `html_context` instead of `html_css_files` and `html_js_files`. This avoids the crash to keep it "not broken".
@tk0miya Should using the old Edit: I mean, before #8893 that is. Edit 2: Converting old |
…ntext Since 3.5.0, priority has been added to control CSS/JS files. But it's not working if projects installs custom CSS/JS files via `html_context` instead of `html_css_files` and `html_js_files`. This avoids the crash to keep it "not broken".
In my understanding, But, now I understand some (many?) users have used it to override them. So deprecation period is needed. |
…ntext Since 3.5.0, priority has been added to control CSS/JS files. But it's not working if projects installs custom CSS/JS files via `html_context` instead of `html_css_files` and `html_js_files`. This avoids the crash to keep it "not broken".
…ntext Since 3.5.0, priority has been added to control CSS/JS files. But it's not working if projects installs custom CSS/JS files via `html_context` instead of `html_css_files` and `html_js_files`. This avoids the crash to keep it "not broken".
Fix #8885: html: AttributeError for CSS/JS files on html_context
We were using the old html_context which has been deprecated for a while. This PR switches to html_css_files instead. See sphinx-doc/sphinx#8885 for more information.
We were using the old html_context which has been deprecated for a while. This PR switches to html_css_files instead. See sphinx-doc/sphinx#8885 for more information.
* Use updated Docker images. * Check numerical results and fail the CI if results don't match. * For now pw.x is always run with 2 MPI processes. Using more processes leads to relatively small noises in the wavefunctions, which make a noticeable difference in Wstat, and even a larger difference in Wfreq. Why this is happening needs further investigation. * Fix doc build with sphinx 3.5.0+. (See sphinx-doc/sphinx#8885)
Dask documentation builds started failing when picking up the latest Sphinx (3.5.0); pinning to
<3.5.0
seems to work around the issue. See dask/dask#7216 / dask/dask#7217:The text was updated successfully, but these errors were encountered: