From ca7711944ae970ba32d1cbd5a77590b9c6267f7e Mon Sep 17 00:00:00 2001 From: FeignClaims Date: Tue, 30 Jan 2024 14:07:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E9=94=AE=E6=8B=B7?= =?UTF-8?q?=E8=B4=9D=E4=BB=A3=E7=A0=81=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/conf.py | 2 +- docs/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 0c94f843..d9020148 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,7 +15,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = ['sphinx_togglebutton', 'sphinx_last_updated_by_git', 'sphinx.ext.todo', - 'sphinx.ext.graphviz', 'sphinx.ext.extlinks'] + 'sphinx.ext.graphviz', 'sphinx.ext.extlinks', 'sphinx_copybutton'] togglebutton_hint = "" togglebutton_hint_hide = "" diff --git a/docs/requirements.txt b/docs/requirements.txt index 13bc6134..a03fe29c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,5 @@ sphinx==7.2.6 sphinx_book_theme==1.1.0 +sphinx-copybutton==0.5.2 sphinx_togglebutton==0.3.2 sphinx-last-updated-by-git==0.3.6 \ No newline at end of file