Skip to content

Commit

Permalink
api 文档 显示github动作源码指向
Browse files Browse the repository at this point in the history
  • Loading branch information
1103837067 committed Oct 20, 2024
1 parent 97060bb commit ac2328c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 文件所在的路径
}

0 comments on commit ac2328c

Please sign in to comment.