diff --git a/docs/conf.py b/docs/conf.py index 1cb03063..2ac73ac7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,8 +42,7 @@ "sphinx.ext.intersphinx", "sphinx.ext.viewcode", "notfound.extension", - "sphinx_autodoc_typehints", - "sphinx_substitution_extensions" + "sphinx_autodoc_typehints" ] autodoc_member_order = "bysource" @@ -201,7 +200,3 @@ # -- Extension configuration ------------------------------------------------- intersphinx_mapping = {"python": ("https://docs.python.org/3", None)} - -rst_prolog = """ -.. |pyngrok_version| replace:: {pyngrok_version} -""".format(pyngrok_version=version) diff --git a/docs/troubleshooting.rst b/docs/troubleshooting.rst index 5a7c6216..98c34d28 100644 --- a/docs/troubleshooting.rst +++ b/docs/troubleshooting.rst @@ -15,7 +15,6 @@ your path. Running ``ngrok`` with no args from the command line should show ``py end. .. code-block:: shell - :substitutions: bash-3.2$ ngrok ngrok - tunnel local ports to public URLs and inspect traffic @@ -26,7 +25,7 @@ end. ... PYNGROK VERSION: - |pyngrok_version| + 7.1.5 .. note:: diff --git a/pyproject.toml b/pyproject.toml index 7987358d..532b5918 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,6 @@ docs = [ "Sphinx", "sphinx-notfound-page", "sphinx_autodoc_typehints", - "sphinx-substitution-extensions", "mypy", "types-PyYAML" ]