feat: jsc-wiki 新增第9章「人格與情感模擬」與 persona 技能 #38

Merged
jiantw83 merged 2 commits from feat/jsc-wiki-persona-chapter into main 2026-10-14 06:28:57 +00:00
Showing only changes of commit a4e9474227 - Show all commits
+1 -2
View File
@@ -129,8 +129,7 @@ function makeIndex(): void {
for (const [n, f] of chs) {
const [t, d] = info.get(n)!;
const rows = pageFiles(n).map(([[a, b], pf]) => {
const src = pageSource(pf).replace(" 知識庫", "");
return `- [${a}.${b} ${pageTitle(pf)}](${link(pf.slice(0, -3))})` + (src ? `(${src})` : "");
return `- [${a}.${b} ${pageTitle(pf)}](${link(pf.slice(0, -3))})`;
});
write(inWork(f), `# ${t}\n\n${d}\n\n${rows.join("\n")}\n` + navBlock(f.slice(0, -3)));
}