线代第4-6讲补全:线性方程组43题、特征值35题、二次型30题(知识点带题+题级链接)

- 第4讲 线性方程组:8 个点分册 43 题,旧版题点分离整目录归档到 旧版-题点分离/
- 第5讲 特征值与特征向量:7 个点分册 35 题
- 第6讲 二次型:7 个点分册 30 题(含合同与相似、二次曲面两节)
- 每讲 01-知识点盘点 + 10 个文件 + 速查卡回查表,全部题目级双向链接
- gen_crosslinks.py 新增:由题目标题单一数据源生成关联行/盘点§0.4/速查回查表
- fix_gitea_math.py 支持 --scope 指向目录(新建未跟踪文件也能修)
- 校验:184-248 条内部链接 0 异常,公式 0 处待修,单文件均 <1.3 万字符
This commit is contained in:
2026-10-24 16:38:01 +08:00
parent 021c5e552c
commit 41b36b2b3c
39 changed files with 6856 additions and 23 deletions
+11 -1
View File
@@ -41,7 +41,17 @@ SCOPES = {
def iter_md_files(scope=None):
"""只处理 git 已跟踪的 .md(排除 参考仓库),与网页上能看到的内容一致。"""
"""只处理 git 已跟踪的 .md(排除 参考仓库),与网页上能看到的内容一致。
若 scope 是一个真实目录,则改为直接遍历该目录下的全部 .md(含未跟踪的新文件)。
"""
if scope and os.path.isdir(os.path.join(ROOT, scope)):
base = os.path.join(ROOT, scope)
for dirpath, _dirs, files in os.walk(base):
for fn in sorted(files):
if fn.endswith('.md'):
yield os.path.join(dirpath, fn)
return
out = subprocess.run(['git', 'ls-files', '-z', '--', '*.md'],
cwd=ROOT, capture_output=True, check=True).stdout.decode('utf-8')
prefixes = SCOPES.get(scope) if scope else None