From ac2328cef1102c4306c00d14a57b181f09adaeeb Mon Sep 17 00:00:00 2001 From: caishilong <1103837067@qq.com> Date: Sun, 20 Oct 2024 17:42:40 +0800 Subject: [PATCH] =?UTF-8?q?api=20=E6=96=87=E6=A1=A3=20=E6=98=BE=E7=A4=BAgi?= =?UTF-8?q?thub=E5=8A=A8=E4=BD=9C=E6=BA=90=E7=A0=81=E6=8C=87=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/source/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 0562272..d54a595 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -54,3 +54,11 @@ # 如果需要支持多语言 # locale_dirs = ['locale/'] # gettext_compact = False + +html_context = { + "display_github": True, # 显示 GitHub 链接 + "github_user": "Exuils", # 你的 GitHub 用户名 + "github_repo": "HA4T", # 你的 GitHub 仓库名 + "github_version": "main", # 分支名,通常是 main 或 master + "conf_py_path": "/docs/source/", # conf.py 文件所在的路径 +}