mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
docs: Avoid deprecated app.add_stylesheet alias.
Fixes this warning:
/srv/zulip/docs/conf.py:337: RemovedInSphinx40Warning: The app.add_stylesheet() is deprecated. Please use app.add_css_file() instead.
app.add_stylesheet('theme_overrides.css') # path relative to _static
https://www.sphinx-doc.org/en/3.x/extdev/deprecated.html
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
cb5f738948
commit
c618b3ae30
@@ -334,4 +334,4 @@ def setup(app: Any) -> None:
|
||||
app.add_transform(AutoStructify)
|
||||
|
||||
# overrides for wide tables in RTD theme
|
||||
app.add_stylesheet('theme_overrides.css') # path relative to _static
|
||||
app.add_css_file('theme_overrides.css') # path relative to _static
|
||||
|
||||
Reference in New Issue
Block a user