Skip to content

docs: move to html_css_files as add_stylesheet is deprecated/removed #581

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

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

NeroBurner
Copy link

With Sphinx 4 the function add_stylesheet() was temporarily removed
and added back in in newer versions of Sphinx. As alternative the
html_css_files variable is mentioned, which is available since
Sphinx 1.8.

The python3-sphinx package with version 4.3.2-1 from Ubuntu 22.04
jammy doesn't have the add_stylesheet() API, which breaks
documentation generation on said platform.

sphinx-doc/sphinx#9683 (comment)

With Sphinx 4 the function `add_stylesheet()` was temporarily removed
and added back in in newer versions of Sphinx. As alternative the
`html_css_files` variable is mentioned, which is available since
Sphinx 1.8.

The `python3-sphinx` package with version `4.3.2-1` from Ubuntu 22.04
jammy doesn't have the `add_stylesheet()` API, which breaks
documentation generation on said platform.

sphinx-doc/sphinx#9683 (comment)
@NeroBurner NeroBurner requested a review from rbsheth June 22, 2022 08:25
@rbsheth rbsheth merged commit 3d35f27 into master Jun 22, 2022
@NeroBurner NeroBurner deleted the docs_html_css_files branch June 23, 2022 09:19
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

Successfully merging this pull request may close these issues.

2 participants