Skip to content

Commit 41a1c11

Browse files
authored
Infra: Use the 'important' admonition for all of the canonical-* directives (#4152)
1 parent 0ff88ad commit 41a1c11

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pep_sphinx_extensions/pep_processor/parsing/pep_banner_directive.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ class CanonicalDocBanner(PEPBanner):
7777
admonition_post_text = (
7878
"See :pep:`1` for how to propose changes."
7979
)
80-
8180
css_classes = ["canonical-doc", "sticky-banner"]
8281

8382

@@ -99,8 +98,6 @@ class CanonicalPyPASpecBanner(PEPBanner):
9998
"<https://www.pypa.io/en/latest/specifications/#handling-fixes-and-other-minor-updates>`__ "
10099
"for how to propose changes."
101100
)
102-
admonition_class = nodes.attention
103-
104101
css_classes = ["canonical-pypa-spec", "sticky-banner"]
105102

106103

@@ -119,8 +116,6 @@ class CanonicalTypingSpecBanner(PEPBanner):
119116
"<https://typing.readthedocs.io/en/latest/spec/meta.html>`__ "
120117
"for how to propose changes to the typing spec."
121118
)
122-
admonition_class = nodes.attention
123-
124119
css_classes = ["canonical-typing-spec", "sticky-banner"]
125120

126121

0 commit comments

Comments
 (0)