Skip to content

Commit

Permalink
Infra: Use the 'important' admonition for all of the canonical-* di…
Browse files Browse the repository at this point in the history
…rectives (#4152)
  • Loading branch information
hugovk authored Jan 23, 2025
1 parent 0ff88ad commit 41a1c11
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class CanonicalDocBanner(PEPBanner):
admonition_post_text = (
"See :pep:`1` for how to propose changes."
)

css_classes = ["canonical-doc", "sticky-banner"]


Expand All @@ -99,8 +98,6 @@ class CanonicalPyPASpecBanner(PEPBanner):
"<https://www.pypa.io/en/latest/specifications/#handling-fixes-and-other-minor-updates>`__ "
"for how to propose changes."
)
admonition_class = nodes.attention

css_classes = ["canonical-pypa-spec", "sticky-banner"]


Expand All @@ -119,8 +116,6 @@ class CanonicalTypingSpecBanner(PEPBanner):
"<https://typing.readthedocs.io/en/latest/spec/meta.html>`__ "
"for how to propose changes to the typing spec."
)
admonition_class = nodes.attention

css_classes = ["canonical-typing-spec", "sticky-banner"]


Expand Down

0 comments on commit 41a1c11

Please sign in to comment.