8 Commits
Author SHA1 Message Date
yuysh dae0507c66 Merge branch 'master' into Readme
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Successful in 2m8s
Deploy Sphinx Documentation / deploy (pull_request) Successful in 1m43s
2025-09-05 12:01:06 +08:00
yuysh b73c6cb633 Merge pull request 'Action_Debug' (#17) from Action_Debug into master
Reviewed-on: http://mkb.local:3000/yuysh/Manlink_Doc/pulls/17
2025-09-05 11:55:45 +08:00
yuysh 8308efee63 Merge branch 'Action_Debug' of http://192.168.1.198:3000/yuysh/Manlink_Doc into Action_Debug
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Failing after 24s
Deploy Sphinx Documentation / deploy (pull_request) Successful in 9m21s
2025-09-05 11:48:48 +08:00
yuysh b661da845e Merge branch 'master' into Action_Debug
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Failing after 24s
2025-09-05 11:48:00 +08:00
yuysh 6e39d12af5 Add --no-cache-dir to prevent error 2025-09-05 11:47:27 +08:00
yuysh b21966beeb Merge branch 'master' into Action_Debug
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Successful in 1m46s
2025-09-04 16:20:49 +08:00
yuysh ec4cd1efc9 Add Custom Rule
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Successful in 1m57s
2025-09-04 16:15:06 +08:00
yuysh 1a810c8b9b remove extensions.discard() 2025-09-01 13:23:12 +08:00
3 changed files with 22 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
if [ $REQ_MOD_TIME -gt $VENV_MOD_TIME ]; then
echo "Master branch requirements updated, installing new dependencies..."
pip install -r requirements.txt
pip install -r requirements.txt --no-cache-dir
echo $REQ_MOD_TIME > .venv-shared/last_update.txt
fi
fi
+17
View File
@@ -0,0 +1,17 @@
document.addEventListener('DOMContentLoaded', function() {
// 禁用右键菜单
document.addEventListener('contextmenu', function(e) {
e.preventDefault();
});
// 禁用文本选择
document.styleSheets[0].addRule('body', '-webkit-user-select: none!important;');
document.styleSheets[0].addRule('body', '-moz-user-select: none!important;');
document.styleSheets[0].addRule('body', '-ms-user-select: none!important;');
document.styleSheets[0].addRule('body', 'user-select: none!important;');
// 禁用拖拽
document.addEventListener('dragstart', function(e) {
e.preventDefault();
});
});
+4 -1
View File
@@ -59,6 +59,10 @@ html_theme_options = {
# ================= 高级功能 =================
html_js_files = [
'custom.js'
]
# ================== Mermaid 配置 ==================
def find_system_chrome():
"""自动检测系统 Chrome/Chromium 可执行路径"""
@@ -117,7 +121,6 @@ try:
except Exception as e:
print(f"⚠️ Mermaid 初始化失败: {e}")
print("⚠️ 图表将显示为代码块,请安装 Chrome 和 mermaid-cli")
extensions.discard('sphinxcontrib.mermaid')
# ================= CHM特化配置 =================
if is_chm_build: