docs: use non-rendering Mintlify markers

This commit is contained in:
Radek Sienkiewicz 2026-03-15 02:22:30 +01:00
parent 9e56644328
commit 62d555ed5d
5 changed files with 12 additions and 12 deletions

View File

@ -186,14 +186,14 @@ Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider:
Kimi K2 model IDs:
{/_ moonshot-kimi-k2-model-refs:start _/}
[//]: # "moonshot-kimi-k2-model-refs:start"
- `moonshot/kimi-k2.5`
- `moonshot/kimi-k2-0905-preview`
- `moonshot/kimi-k2-turbo-preview`
- `moonshot/kimi-k2-thinking`
- `moonshot/kimi-k2-thinking-turbo`
{/_ moonshot-kimi-k2-model-refs:end _/}
[//]: # (moonshot-kimi-k2-model-refs:end)
```json5
{

View File

@ -15,14 +15,14 @@ Kimi Coding with `kimi-coding/k2p5`.
Current Kimi K2 model IDs:
{/_ moonshot-kimi-k2-ids:start _/}
[//]: # "moonshot-kimi-k2-ids:start"
- `kimi-k2.5`
- `kimi-k2-0905-preview`
- `kimi-k2-turbo-preview`
- `kimi-k2-thinking`
- `kimi-k2-thinking-turbo`
{/_ moonshot-kimi-k2-ids:end _/}
[//]: # (moonshot-kimi-k2-ids:end)
```bash
openclaw onboard --auth-choice moonshot-api-key

View File

@ -160,13 +160,13 @@ Long options are validated fail-closed in safe-bin mode: unknown flags and ambig
abbreviations are rejected.
Denied flags by safe-bin profile:
{/_ SAFE_BIN_DENIED_FLAGS:START _/}
[//]: # "SAFE_BIN_DENIED_FLAGS:START"
- `grep`: `--dereference-recursive`, `--directories`, `--exclude-from`, `--file`, `--recursive`, `-R`, `-d`, `-f`, `-r`
- `jq`: `--argfile`, `--from-file`, `--library-path`, `--rawfile`, `--slurpfile`, `-L`, `-f`
- `sort`: `--compress-program`, `--files0-from`, `--output`, `--random-source`, `--temporary-directory`, `-T`, `-o`
- `wc`: `--files0-from`
{/_ SAFE_BIN_DENIED_FLAGS:END _/}
[//]: # (SAFE_BIN_DENIED_FLAGS:END)
Safe bins also force argv tokens to be treated as **literal text** at execution time (no globbing
and no `$VARS` expansion) for stdin-only segments, so patterns like `*` or `$HOME/...` cannot be

View File

@ -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"',
"[//]: # (moonshot-kimi-k2-ids:end)",
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"',
"[//]: # (moonshot-kimi-k2-model-refs:end)",
renderKimiK2Ids("moonshot/"),
);

View File

@ -10,8 +10,8 @@ import {
validateSafeBinArgv,
} from "./exec-safe-bin-policy.js";
const SAFE_BIN_DOC_DENIED_FLAGS_START = "{/* SAFE_BIN_DENIED_FLAGS:START */}";
const SAFE_BIN_DOC_DENIED_FLAGS_END = "{/* SAFE_BIN_DENIED_FLAGS:END */}";
const SAFE_BIN_DOC_DENIED_FLAGS_START = '[//]: # "SAFE_BIN_DENIED_FLAGS:START"';
const SAFE_BIN_DOC_DENIED_FLAGS_END = "[//]: # (SAFE_BIN_DENIED_FLAGS:END)";
function buildDeniedFlagArgvVariants(flag: string): string[][] {
const value = "blocked";