@@ -76,29 +76,30 @@ Sphinx 2.x:
7676
7777* Sphinx 2.x will contain a backwards-compatible replica of the function
7878 which will raise a ``RemovedInSphinx40Warning ``.
79- This is a subclass of :exc: `python: PendingDeprecationWarning `, i.e. it
80- will not get displayed by default.
79+ This is a subclass of :external+python: : exc: `PendingDeprecationWarning `,
80+ i.e., it will not get displayed by default.
8181
8282* Sphinx 3.x will still contain the backwards-compatible replica, but
8383 ``RemovedInSphinx40Warning `` will be a subclass of
84- :exc: `python: DeprecationWarning ` then, and gets displayed by default.
84+ :external+python: exc: `DeprecationWarning ` then, and gets displayed by default.
8585
8686* Sphinx 4.0 will remove the feature outright.
8787
8888Deprecation warnings
8989~~~~~~~~~~~~~~~~~~~~
9090
9191Sphinx will enable its ``RemovedInNextVersionWarning `` warnings by default, if
92- :envvar: `python: PYTHONWARNINGS ` is not set. Therefore you can disable them
93- using:
92+ :external+python: envvar: `PYTHONWARNINGS ` is not set. Therefore you can disable
93+ them using:
9494
9595* ``PYTHONWARNINGS= make html `` (Linux/Mac)
9696* ``export PYTHONWARNINGS= `` and do ``make html `` (Linux/Mac)
9797* ``set PYTHONWARNINGS= `` and do ``make html `` (Windows)
9898
9999But you can also explicitly enable the pending ones using e.g.
100- ``PYTHONWARNINGS=default `` (see the :ref: `Python docs on configuring warnings
101- <python:describing-warning-filters>`) for more details.
100+ ``PYTHONWARNINGS=default ``
101+ (see the :external+python:ref: `Python docs on configuring warnings
102+ <describing-warning-filters>`) for more details.
102103
103104Release procedures
104105------------------
0 commit comments