Skip to content

app.add_stylesheet() is gone and replaced by app.add_css_fileΒ #9683

@thomasgoirand

Description

@thomasgoirand

Describe the bug

This breaks a LOT of projects. Please revert the removal.

As a package maintainer in Debian that is in charge of 500+ packages, this is not fun. There's no reason to deprecate and remove methods just because you think it's nicer. Please behave yourself. Nobody does that on the Linux kernel since its inception. It is unacceptable that breaking the world feels OK-ish to python developers, and shows a gave lack of seriousness.

How to Reproduce

For example, try to build pyroute2 with Sphinx 4.

Expected behavior

No response

Your project

Debian packaging of MANY packages

Screenshots

No response

OS

debian

Python version

3.9

Sphinx version

4.2.0

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions