diff -Naur marshmallow-3.8.0.orig/docs/conf.py marshmallow-3.8.0/docs/conf.py --- marshmallow-3.8.0.orig/docs/conf.py 2020-09-16 11:21:17.000000000 +0200 +++ marshmallow-3.8.0/docs/conf.py 2020-09-16 14:32:51.570352158 +0200 @@ -14,7 +14,6 @@ "sphinx.ext.viewcode", "alabaster", "sphinx_issues", - "versionwarning.extension", "autodocsumm", ] @@ -90,31 +89,3 @@ "searchbox.html", ], } - -# sphinx-version-warning config -versionwarning_messages = { - "latest": ( - "This document is for the development version. " - 'For the stable version documentation, see here.' - ), - "stable": ( - "Black Lives Matter. " - 'Support the Equal Justice Initiative and ' - 'Color of Change.' - ), - "2.x-line": ( - "marshmallow 2 is no longer supported as of 2020-08-18. " - '' - "Update your code to use marshmallow 3." - ), -} -# Show warning at top of page -versionwarning_body_selector = "div.document" -versionwarning_banner_title = "" -# For debugging locally -# versionwarning_project_version = "stable" - - -def setup(app): - # https://docs.readthedocs.io/en/latest/guides/adding-custom-css.html - app.add_stylesheet("css/versionwarning.css")