From 64bd50f217e971e5c9d5d6553b59184bdd583c23 Mon Sep 17 00:00:00 2001 From: AlexWells Date: Fri, 13 Nov 2026 09:05:18 +0000 Subject: [PATCH] fix: Replace deprecated syntax As of sphinx-design 0.8.0 the "^^^" and "+++" syntax are deprecated. See https://sphinx-design.readthedocs.io/en/latest/cards.html#legacy-separator-syntax --- docs/index.md | 8 ++++---- template/{% if sphinx %}docs{% endif %}/index.md | 8 ++++---- uv.lock | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/index.md b/docs/index.md index 509ec6062..e7d517caa 100644 --- a/docs/index.md +++ b/docs/index.md @@ -22,7 +22,7 @@ top bar. :maxdepth: 2 tutorials ``` -+++ +:::{card-footer} Tutorials for installation and typical usage. New users start here. ::: @@ -31,7 +31,7 @@ Tutorials for installation and typical usage. New users start here. :maxdepth: 2 how-to ``` -+++ +:::{card-footer} Practical step-by-step guides for the more experienced user. ::: @@ -40,7 +40,7 @@ Practical step-by-step guides for the more experienced user. :maxdepth: 2 explanations ``` -+++ +:::{card-footer} Explanations of how it works and why it works that way. ::: @@ -49,7 +49,7 @@ Explanations of how it works and why it works that way. :maxdepth: 2 reference ``` -+++ +:::{card-footer} Technical reference material including APIs and release notes. ::: diff --git a/template/{% if sphinx %}docs{% endif %}/index.md b/template/{% if sphinx %}docs{% endif %}/index.md index 730b3fdc1..7b4e4cf5a 100644 --- a/template/{% if sphinx %}docs{% endif %}/index.md +++ b/template/{% if sphinx %}docs{% endif %}/index.md @@ -22,7 +22,7 @@ Documentation is split into [four categories](https://diataxis.fr), also accessi :maxdepth: 2 tutorials ``` -+++ +:::{card-footer} Tutorials for installation and typical usage. New users start here. ::: @@ -31,7 +31,7 @@ Tutorials for installation and typical usage. New users start here. :maxdepth: 2 how-to ``` -+++ +:::{card-footer} Practical step-by-step guides for the more experienced user. ::: @@ -40,7 +40,7 @@ Practical step-by-step guides for the more experienced user. :maxdepth: 2 explanations ``` -+++ +:::{card-footer} Explanations of how it works and why it works that way. ::: @@ -49,7 +49,7 @@ Explanations of how it works and why it works that way. :maxdepth: 2 reference ``` -+++ +:::{card-footer} Technical reference material including APIs and release notes. ::: diff --git a/uv.lock b/uv.lock index eefc3aaec..960653cb8 100644 --- a/uv.lock +++ b/uv.lock @@ -1205,16 +1205,16 @@ wheels = [ [[package]] name = "sphinx-design" -version = "0.7.0" +version = "0.8.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" }, { name = "sphinx", version = "9.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.12.*'" }, { name = "sphinx", version = "9.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/13/7b/804f311da4663a4aecc6cf7abd83443f3d4ded970826d0c958edc77d4527/sphinx_design-0.7.0.tar.gz", hash = "sha256:d2a3f5b19c24b916adb52f97c5f00efab4009ca337812001109084a740ec9b7a", size = 2203582, upload-time = "2026-01-19T13:12:53.297Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b0/c3/5d0f3aff52337edea9fe1d3f35ecba8a235b0490afb185544299a03a97d0/sphinx_design-0.8.0.tar.gz", hash = "sha256:57fa4d96378525122947ab6109c6e490190e3119dc10f3e3adf6b71444bf3bb4", size = 2254778, upload-time = "2026-11-10T17:16:39.673Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/30/cf/45dd359f6ca0c3762ce0490f681da242f0530c49c81050c035c016bfdd3a/sphinx_design-0.7.0-py3-none-any.whl", hash = "sha256:f82bf179951d58f55dca78ab3706aeafa496b741a91b1911d371441127d64282", size = 2220350, upload-time = "2026-01-19T13:12:51.077Z" }, + { url = "https://files.pythonhosted.org/packages/b9/9a/e929b7fb9497d8e12bcda1777a7076f7c38d644216e91665bcfff6cab90d/sphinx_design-0.8.0-py3-none-any.whl", hash = "sha256:861fecb064c3da5ff48031a237692ccb7c2e671f8c4aa84d4b9eef3cb8fd9c91", size = 2288922, upload-time = "2026-11-10T17:16:37.538Z" }, ] [[package]]