From 49a0afd989f3137d062e9e309162af083e072fbf Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:25:10 +0200 Subject: [PATCH] Infra: use same admonition for canonical-doc, canonical-pypa-spec and canonical-typing-spec --- .../pep_processor/parsing/pep_banner_directive.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pep_sphinx_extensions/pep_processor/parsing/pep_banner_directive.py b/pep_sphinx_extensions/pep_processor/parsing/pep_banner_directive.py index 00f7b789fec..ff0ca96f86f 100644 --- a/pep_sphinx_extensions/pep_processor/parsing/pep_banner_directive.py +++ b/pep_sphinx_extensions/pep_processor/parsing/pep_banner_directive.py @@ -77,7 +77,6 @@ class CanonicalDocBanner(PEPBanner): admonition_post_text = ( "See :pep:`1` for how to propose changes." ) - css_classes = ["canonical-doc", "sticky-banner"] @@ -99,8 +98,6 @@ class CanonicalPyPASpecBanner(PEPBanner): "`__ " "for how to propose changes." ) - admonition_class = nodes.attention - css_classes = ["canonical-pypa-spec", "sticky-banner"] @@ -119,8 +116,6 @@ class CanonicalTypingSpecBanner(PEPBanner): "`__ " "for how to propose changes to the typing spec." ) - admonition_class = nodes.attention - css_classes = ["canonical-typing-spec", "sticky-banner"]