17 Commits
Author SHA1 Message Date
yuysh 185130024d Merge branch 'master' into Addition_Docs
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Successful in 1s
Deploy Sphinx Documentation / deploy (pull_request) Successful in 1s
2026-06-15 03:31:30 +00:00
yuysh ae7b1d8859 Merge pull request 'Upgrade to python3' (#22) from Action_Debug into master
Reviewed-on: #22
2026-04-13 05:34:29 +00:00
yuysh 2147dc4082 Upgrade to python3
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Failing after 0s
Deploy Sphinx Documentation / deploy (pull_request) Successful in 1s
2026-04-13 13:28:35 +08:00
yuysh 9cd0435682 Merge pull request '完善 Readme 文档' (#16) from Readme into master
Reviewed-on: http://mkb.local:3000/yuysh/Manlink_Doc/pulls/16
2025-09-05 12:07:58 +08:00
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
yuysh 26d0ed496c Merge branch 'Addition_Docs' of http://192.168.1.198:3000/yuysh/Manlink_Doc into Addition_Docs
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Successful in 2m2s
2025-08-29 11:23:14 +08:00
yuysh 5bba2ee808 Change index to markdown 2025-08-29 11:22:43 +08:00
yuysh 8657ca3a4c Merge branch 'master' into Addition_Docs
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Successful in 2m2s
2025-08-29 11:15:49 +08:00
yuysh e2389b813e Mod Index
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Successful in 2m2s
2025-08-29 11:14:03 +08:00
yuysh 899a5fb55e Add Additional Docs
Build Sphinx Documentation / Build Documentation from PR Branch (pull_request) Successful in 2m22s
2025-08-29 11:09:38 +08:00
13 changed files with 56 additions and 30 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
+2 -2
View File
@@ -23,7 +23,7 @@ jobs:
cd /home/ly0kos/work/test_env
# 创建共享虚拟环境
python -m venv .venv-shared
python3 -m venv .venv-shared
source .venv-shared/bin/activate
pip install --upgrade pip
pip install sphinx sphinx-rtd-theme
@@ -89,7 +89,7 @@ jobs:
fi
fi
echo "Python: $(python --version)"
echo "python3: $(python3 --version)"
echo "Sphinx: $(sphinx-build --version 2>/dev/null || echo 'Not installed')"
# 第四步:在工作树中构建文档
+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:
+32
View File
@@ -0,0 +1,32 @@
---
title: ManLin 硬件产品知识库
---
# ManLin 硬件产品知识库
```{toctree}
:maxdepth: 1
:caption: 目录
Mars_1KS/index
Calibration/index
Lab_Report/index
```
## 附加文档
1. [AD5522](_static/data/add_docs/AD5522.pdf)
2. :::{dropdown} Power DataSheets
- [LTM4655](_static/data/add_docs/Pwr_DataSheet/ltm4655.pdf)
- [MIC29502](_static/data/add_docs/Pwr_DataSheet/MIC29502.pdf)
- [LMR51450](_static/data/add_docs/Pwr_DataSheet/LMR51450.pdf)
- [TPS54627](_static/data/add_docs/Pwr_DataSheet/tps54627.pdf)
- [TPS54821](_static/data/add_docs/Pwr_DataSheet/tps54821.pdf)
- [TPS563209](_static/data/add_docs/Pwr_DataSheet/tps563209.pdf)
- [LT3091](_static/data/add_docs/Pwr_DataSheet/lt3091.pdf)
:::
3.
-26
View File
@@ -1,26 +0,0 @@
.. ManLin_KnowledgeBase documentation master file, created by
sphinx-quickstart on Tue Aug 12 05:35:46 2025.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. ManLin 硬件知识库主索引文件
.. 注意:此文件使用 reStructuredText 语法,但支持包含 Markdown 文件
##############################
ManLin 硬件产品知识库
##############################
.. toctree::
:maxdepth: 1
:caption: Contents:
Mars_1KS/index
Calibration/index
Lab_Report/index
*Additional Docs:*
1. `AD5522 <_static/data/add_docs/AD5522.pdf>`_