-
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
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet' #7747
Labels
Comments
Yes, the API was deprecated at 1.8.0. Please use |
This was referenced May 4, 2021
1 task
openstack-mirroring
pushed a commit
to openstack/releases
that referenced
this issue
May 18, 2021
New Sphinx removed add_stylesheet, and add_javascript (see [1]). Need to update os-api-ref to unblock api-ref test job [2]. [1] sphinx-doc/sphinx#7747 [2] https://zuul.opendev.org/t/openstack/build/5de6511fe05745d688cc3cea2c5f42d7 Change-Id: I51e58b1795077cbf2cf984dd9c5915a3270bb7ea
openstack-mirroring
pushed a commit
to openstack/openstack
that referenced
this issue
May 18, 2021
* Update releases from branch 'master' to 39851032a81fb2d1904daa74b065ee0a37da6259 - Merge "Release os-api-ref 2.2.0" - Release os-api-ref 2.2.0 New Sphinx removed add_stylesheet, and add_javascript (see [1]). Need to update os-api-ref to unblock api-ref test job [2]. [1] sphinx-doc/sphinx#7747 [2] https://zuul.opendev.org/t/openstack/build/5de6511fe05745d688cc3cea2c5f42d7 Change-Id: I51e58b1795077cbf2cf984dd9c5915a3270bb7ea
LeanSheng
added a commit
to LeanSheng/documentation
that referenced
this issue
May 28, 2021
'make html' generated AttributeError due to this API 'add_stylesheet' has been depreciated: sphinx-doc/sphinx#7747 Use app.add_css_file() instead. Signed-off-by: LeanSheng lean.sheng.tan@intel.com
LeanSheng
added a commit
to LeanSheng/documentation
that referenced
this issue
May 28, 2021
'make html' generated AttributeError due to this API 'add_stylesheet' has been depreciated: sphinx-doc/sphinx#7747 Use app.add_css_file() instead. Signed-off-by: LeanSheng lean.sheng.tan@intel.com
rprangar
pushed a commit
to slimbootloader/documentation
that referenced
this issue
Jun 2, 2021
'make html' generated AttributeError due to this API 'add_stylesheet' has been depreciated: sphinx-doc/sphinx#7747 Use app.add_css_file() instead. Signed-off-by: LeanSheng lean.sheng.tan@intel.com
jkingslake
added a commit
to jkingslake/pangeo-gallery
that referenced
this issue
Jun 3, 2021
'add_stylesheet' has been depreciated. Updating to use app.add_css_file() instead, as described here: sphinx-doc/sphinx#7747
jkingslake
added a commit
to jkingslake/pangeo-gallery
that referenced
this issue
Jun 3, 2021
'add_stylesheet' has been depreciated. Updating to use app.add_css_file() instead, as described here: sphinx-doc/sphinx#7747
rabernat
pushed a commit
to pangeo-gallery/pangeo-gallery
that referenced
this issue
Jun 3, 2021
* update to use app.add_css_file 'add_stylesheet' has been depreciated. Updating to use app.add_css_file() instead, as described here: sphinx-doc/sphinx#7747 * update to use app.add_css_file 'add_stylesheet' has been depreciated. Updating to use app.add_css_file() instead, as described here: sphinx-doc/sphinx#7747
bfc5288
added a commit
to SNEWS2/hop-SNalert-app
that referenced
this issue
Jun 15, 2021
This was referenced Jun 15, 2021
rapids-bot bot
pushed a commit
to rapidsai/clx
that referenced
this issue
Jun 15, 2021
According to [this issue](sphinx-doc/sphinx#7747), `add_stylesheet` has been replaced with `add_css_file`. This has caused some errors in recent doc builds. This PR replaces `add_stylesheet` with `add_css_file`. Authors: - AJ Schmidt (https://github.com/ajschmidt8) Approvers: - Eli Fajardo (https://github.com/efajardo-nv) URL: #427
rapids-bot bot
pushed a commit
to rapidsai/cuspatial
that referenced
this issue
Jun 15, 2021
According to [this issue](sphinx-doc/sphinx#7747), `add_stylesheet` has been replaced with `add_css_file`. This has caused some errors in recent doc builds. This PR replaces `add_stylesheet` with `add_css_file`. Authors: - AJ Schmidt (https://github.com/ajschmidt8) Approvers: - H. Thomson Comer (https://github.com/thomcom) URL: #421
rapids-bot bot
pushed a commit
to rapidsai/cusignal
that referenced
this issue
Jun 15, 2021
According to [this issue](sphinx-doc/sphinx#7747), `add_stylesheet` has been replaced with `add_css_file`. This has caused some errors in recent doc builds. This PR replaces `add_stylesheet` with `add_css_file`. Authors: - AJ Schmidt (https://github.com/ajschmidt8) Approvers: - Adam Thompson (https://github.com/awthomp) URL: #395
manics
added a commit
to manics/repo2docker
that referenced
this issue
Jul 2, 2021
``` AttributeError: 'Sphinx' object has no attribute 'add_stylesheet' ``` sphinx-doc/sphinx#7747
bfc5288
added a commit
to SNEWS2/hop-SNalert-app
that referenced
this issue
Jul 14, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using
Sphinx version: 4.0.0+/88a3548a8
Python version: 3.8.2 (CPython)
Docutils version: 0.17b.dev release
Jinja2 version: 3.0.0a1
make html in pytest/doc/en fails with
git/pygments-pytest/pygments_pytest.py", line 165, in setup
app.add_stylesheet('pygments_pytest.css')
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
The text was updated successfully, but these errors were encountered: