Add deprecated-removed directive to Sphinx (#4912)

* Add `deprecated-removed` directive to Sphinx

* Add equivalent function to internal utils
This commit is contained in:
jack1142
2021-04-03 18:48:17 +02:00
committed by GitHub
parent 76bb65912e
commit 0144cbf88b
3 changed files with 149 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ import os
import sys
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("_ext"))
os.environ["BUILDING_DOCS"] = "1"
@@ -42,6 +43,7 @@ extensions = [
"sphinx.ext.napoleon",
"sphinx.ext.doctest",
"sphinxcontrib_trio",
"deprecated_removed",
]
# Add any paths that contain templates here, relative to this directory.