From 7df4811b763c7cd51827fc9abff743e06221c95d Mon Sep 17 00:00:00 2001 From: hoangvv Date: Fri, 28 Feb 2025 14:27:01 +0700 Subject: [PATCH] add sphinx design --- conf.py | 4 ++-- config.yaml | 1 + requirements.txt | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 0299ebdb9..734a49f47 100644 --- a/conf.py +++ b/conf.py @@ -200,13 +200,13 @@ extensions = [ # Content tabs "sphinx_tabs.tabs", # Cards - "cards", + # "cards", # Spoilers "spoilers", # Strange html domain logic used in memento pages "html_domain", "myst_parser", - "sphinx-design", + "sphinx_design", ] myst_enable_extensions = [ diff --git a/config.yaml b/config.yaml index 26cc7f0f8..538462a6e 100644 --- a/config.yaml +++ b/config.yaml @@ -35,6 +35,7 @@ extensions: - sphinx.ext.intersphinx - sphinx.ext.todo - sphinx_tabs.tabs +- sphinx_design default_domain: py consecutive_numbering: true colon_fences: true diff --git a/requirements.txt b/requirements.txt index 25cf4d17b..72102baa6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -112,4 +112,5 @@ paramiko ; python_version > '3.10' proxmoxer ; python_version > '3.10' requests ; python_version > '3.10' google_auth ; python_version > '3.10' -esbonio \ No newline at end of file +esbonio +sphinx_design==0.4.0 \ No newline at end of file