Close #9683: Revert the removal of `add_stylesheet()` API

It will be kept until the Sphinx-6.0 release.

Note: Now it emits a warning instead of DeprecationWarning to let the
users know the deprecation.
This commit is contained in:
Takeshi KOMIYA
2021-10-03 16:34:57 +09:00
parent 9922923d6f
commit 1fbca49970
3 changed files with 23 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ Features added
* #9691: C, added new info-field ``retval``
for :rst:dir:`c:function` and :rst:dir:`c:macro`.
* C++, added new info-field ``retval`` for :rst:dir:`cpp:function`.
* #9683: Revert the removal of ``add_stylesheet()`` API. It will be kept until
the Sphinx-6.0 release
Bugs fixed
----------