modified: .gitea/workflows/sync-wiki.yml
Check cpp / md pair / Check md headers (push) Successful in 4s
Sync solutions to Wiki / sync (push) Successful in 5s

This commit is contained in:
hanyixuanten committed 2026-10-29 11:19:22 +00:00
1 parent cfd4039a68
commit 2fd0baf3ab
1 file changed
+2 -1
+2 -1
View File
@@ -73,10 +73,11 @@ jobs:
out=wiki/_Sidebar.md out=wiki/_Sidebar.md
# 收集 solutions 下所有 md(相对路径,去掉扩展名),按路径排序 # 收集 solutions 下所有 md(相对路径,去掉扩展名),按路径排序
# 用 -V 做自然排序:P1000 < P2000 < P10000,而不是字典序的 P10000 < P2000
mapfile -t items < <( mapfile -t items < <(
find solutions -type f -name '*.md' -printf '%P\n' \ find solutions -type f -name '*.md' -printf '%P\n' \
| sed 's/\.md$//' \ | sed 's/\.md$//' \
| sort | sort -V
) )
{ {