From 846db6f249f86fb0b069ff88fe1d04d6aac05737 Mon Sep 17 00:00:00 2001 From: Simon Bowly Date: Mon, 26 Jun 2023 12:25:27 +1000 Subject: [PATCH] Revert "Add sphinx-version-warning for latest" This reverts commit 850d80d43f1e963d8a935a39e4b77b134ac3e5e5. This doesn't work, reverting for now. Readthedocs adds its own warning for out of date versions. --- docs/requirements.txt | 1 - docs/source/conf.py | 9 --------- 2 files changed, 10 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 134bd23e..bc77919b 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -7,4 +7,3 @@ sphinx-rtd-theme==1.1.1 sphinx-tabs==3.4.0 sphinx-toolbox==3.1.2 sphinxcontrib-bibtex==2.5.0 -sphinx-version-warning==1.1.2 diff --git a/docs/source/conf.py b/docs/source/conf.py index e0dbac24..56edeb5e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -28,7 +28,6 @@ "sphinx.ext.extlinks", "sphinx.ext.intersphinx", "sphinxcontrib.bibtex", - "versionwarning.extension", ] pygments_style = "vs" @@ -82,14 +81,6 @@ } numpydoc_xref_ignore = {"optional", "or", "of"} -# -- sphinx-version-warning config - -versionwarning_messages = { - "latest": ( - "This document is for the development version. " - 'For the stable version documentation, see here.' - ), -} # -- Docstring preprocessing for autodoc