mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-09 05:19:32 +08:00
Docs: fix Moonshot sync markers (#6789)
* Docs: fix Moonshot sync markers * Docs: use MDX comment markers for Moonshot sync * Docs: use markdown comment markers for Moonshot sync * Docs: hide Moonshot sync markers in MDX
This commit is contained in:
@@ -90,8 +90,8 @@ async function syncMoonshotDocs() {
|
||||
let moonshotText = await readFile(moonshotDoc, "utf8");
|
||||
moonshotText = replaceBlockLines(
|
||||
moonshotText,
|
||||
"<!-- moonshot-kimi-k2-ids:start -->",
|
||||
"<!-- moonshot-kimi-k2-ids:end -->",
|
||||
"{/_ moonshot-kimi-k2-ids:start _/ && null}",
|
||||
"{/_ moonshot-kimi-k2-ids:end _/ && null}",
|
||||
renderKimiK2Ids(""),
|
||||
);
|
||||
moonshotText = replaceBlockLines(
|
||||
@@ -110,8 +110,8 @@ async function syncMoonshotDocs() {
|
||||
let conceptsText = await readFile(conceptsDoc, "utf8");
|
||||
conceptsText = replaceBlockLines(
|
||||
conceptsText,
|
||||
"<!-- moonshot-kimi-k2-model-refs:start -->",
|
||||
"<!-- moonshot-kimi-k2-model-refs:end -->",
|
||||
"{/_ moonshot-kimi-k2-model-refs:start _/ && null}",
|
||||
"{/_ moonshot-kimi-k2-model-refs:end _/ && null}",
|
||||
renderKimiK2Ids("moonshot/"),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user