Skip to content

Commit f1a236a

Browse files
committed
修正编号错误,优化构建
1 parent 5263a2f commit f1a236a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ jobs:
3636
3737
- name: Improve Document 📝
3838
run: |
39-
cd docs
40-
sed -i 's@xref:\([^\.]*\).adoc\[[^:]*\]@<<\1>>@g' *.adoc
41-
cd ..
39+
sed -i 's@xref:\([^\.]*\).adoc\[[^:]*\]@<<\1>>@g' docs/*.adoc
40+
sed -i 's@{counter:codes}@{counter:codes2503}@g' logbook/202503.adoc
4241
# 处理 sed 不支持非贪婪模式
4342
# https://stackoverflow.com/a/46719361
4443
# https://stackoverflow.com/a/1103159

logbook/202503.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ endif::[]
155155
|{doc_base_url}/0021-merge-two-sorted-lists.adoc[题解]
156156
|✅
157157

158-
|{counter:codes}
158+
|{counter:codes2503}
159159
|{leetcode_base_url}/longest-palindromic-substring/[5. 最长回文子串^]
160160
|{doc_base_url}/0005-longest-palindromic-substring.adoc[题解]
161161
|✅ 有更高效的马拉车算法,抽空可以尝试一下。

0 commit comments

Comments
 (0)