Skip to content

sphinx-build -b html . _build/html/ fails with AttributeError: 'Sphinx' object has no attribute 'add_stylesheet' with sphinx 7.2.6 #630

@chidanandpujar

Description

@chidanandpujar

Issue Type

  • Bug Report

Module Name

Exception occurred:
File "/root/ansible_release_v103/ansible-junos-stdlib/ansible_collections/juniper/device/docs/conf.py", line 21, in setup
app.add_stylesheet("juniper-junos-modules.css")
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
The full traceback has been saved in /tmp/sphinx-err-rgmwmn4s.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at https://github.com/sphinx-doc/sphinx/issues. Thanks!

juniper.device collection and Python libraries version


OS / Environment

Summary

Steps to reproduce

Expected results


Actual results


Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions