Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Change add_stylesheet to add_css_file #738

Open
wants to merge 1 commit into
base: aiyprojects
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __getattr__(cls, name):

# Add our custom stylesheet. By default, Sphinx looks for this in _static/.
def setup(app):
app.add_stylesheet('custom.css')
app.add_css_file('custom.css')

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down