mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-09-20 12:13:38 +08:00
feat: refresh course through workflow and goal loops
This commit is contained in:
@@ -166,7 +166,7 @@ function copyChapterAssets(chapter: ChapterSource): ChapterImage[] {
|
||||
}
|
||||
|
||||
function localeReadmeName(locale: Locale): string {
|
||||
if (locale === "zh") return "README.md";
|
||||
if (locale === "en") return "README.md";
|
||||
return `README.${locale}.md`;
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ function rewriteChapterMarkdown(
|
||||
let next = content;
|
||||
|
||||
next = next.replace(
|
||||
/^\[中文\]\(README\.md\)\s*.\s*\[English\]\(README\.en\.md\)\s*.\s*\[日本語\]\(README\.ja\.md\)\n\n?/m,
|
||||
/^\[English\]\(README\.md\)\s*.\s*\[中文\]\(README\.zh\.md\)\s*.\s*\[日本語\]\(README\.ja\.md\)\n\n?/m,
|
||||
""
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user