Skip to content

Commit a99fd5e

Browse files
authored
📚 DOCS: suppress sphinx-design 0.8.0's design.card_legacy warning (#1229)
sphinx-design 0.8.0 warns by default on the legacy ^^^/+++ card separators (design.card_legacy), which these docs still use on three pages, so every -W docs build failed. Suppress the warning in docs/conf.py; migrating the cards can follow once the docs require sphinx-design 0.8.
1 parent dde8f25 commit a99fd5e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎docs/conf.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@
5151
# This pattern also affects html_static_path and html_extra_path.
5252
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
5353

54-
suppress_warnings = ["myst.strikethrough"]
54+
suppress_warnings = [
55+
"myst.strikethrough",
56+
# sphinx-design 0.8.0 warns on the legacy ``^^^``/``+++`` card separators,
57+
# which these docs still use; migrate them to card-header/card-footer later
58+
"design.card_legacy",
59+
]
5560

5661
intersphinx_mapping = {
5762
"python": ("https://docs.python.org/3.11", None),

0 commit comments

Comments
 (0)