Skip to content
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

Adding css on last line fix #2

Open
carlosmaroot opened this issue Jun 16, 2021 · 0 comments
Open

Adding css on last line fix #2

carlosmaroot opened this issue Jun 16, 2021 · 0 comments

Comments

@carlosmaroot
Copy link

This is the output at first with the app.add_stylesheet('css/custom.css') line error

File "/opt/Pentest-Cheatsheets/conf.py", line 187, in setup app.add_stylesheet('css/custom.css') AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'

Changing the last line app.add_stylesheet('css/custom.css')

To this one app.add_css_file('css/custom.css')

The issue is from sphinx and its mentioned here sphinx-doc/sphinx#7747

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant