mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
fix(docs): use MDX comment syntax for generated fences
Mintlify parses pages as MDX and rejects HTML-style `<!-- ... -->`
comments, which broke the docs deployment on cli.mdx with a parse
error. Switch the generator fences (and the matching markers in the
two reference pages and the dev test fixtures) to `{/* ... */}` so
Mintlify can parse them.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f676fa779b
commit
24b8f1ec04
5 changed files with 12 additions and 12 deletions
|
|
@ -52,7 +52,7 @@ Explicit `http(s)://...` targets are always treated as remote servers. They do n
|
|||
|
||||
CLI flags always override `settings.toml` values, which override hardcoded defaults.
|
||||
|
||||
<!-- generated:cli -->
|
||||
{/* generated:cli */}
|
||||
## `fabro`
|
||||
|
||||
```bash
|
||||
|
|
@ -1334,4 +1334,4 @@ List available workflows
|
|||
```bash
|
||||
fabro workflow list [OPTIONS]
|
||||
```
|
||||
<!-- /generated:cli -->
|
||||
{/* /generated:cli */}
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ Authorization = "Bearer sk-xxx"
|
|||
|
||||
All fields are optional. Include only the sections and keys you want to override. A single file can still include both CLI and server sections when you run both processes on one machine, but explicit remote targets do not read remote server state from the local machine.
|
||||
|
||||
<!-- generated:options -->
|
||||
{/* generated:options */}
|
||||
## `[cli.target]`
|
||||
|
||||
Connection info for commands that target a remote Fabro server.
|
||||
|
|
@ -293,4 +293,4 @@ tool_timeout = "90s"
|
|||
| `tool_timeout` | duration | `"60s"` | Max duration for a single MCP tool call. |
|
||||
|
||||
See [MCP](/agents/mcp) for transport-specific examples.
|
||||
<!-- /generated:options -->
|
||||
{/* /generated:options */}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ use clap::{Arg, ArgAction, Command};
|
|||
use super::{markdown_cell, replace_generated_region};
|
||||
|
||||
const CLI_REFERENCE_PATH: &str = "docs/public/reference/cli.mdx";
|
||||
const FENCE_START: &str = "<!-- generated:cli -->";
|
||||
const FENCE_END: &str = "<!-- /generated:cli -->";
|
||||
const FENCE_START: &str = "{/* generated:cli */}";
|
||||
const FENCE_END: &str = "{/* /generated:cli */}";
|
||||
|
||||
#[expect(
|
||||
clippy::print_stdout,
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ use fabro_options_metadata::{OptionField, OptionSet};
|
|||
use super::{markdown_cell, replace_generated_region};
|
||||
|
||||
const OPTIONS_REFERENCE_PATH: &str = "docs/public/reference/user-configuration.mdx";
|
||||
const FENCE_START: &str = "<!-- generated:options -->";
|
||||
const FENCE_END: &str = "<!-- /generated:options -->";
|
||||
const FENCE_START: &str = "{/* generated:options */}";
|
||||
const FENCE_END: &str = "{/* /generated:options */}";
|
||||
|
||||
#[expect(
|
||||
clippy::print_stdout,
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@ title: CLI
|
|||
|
||||
Intro copy.
|
||||
|
||||
<!-- generated:cli -->
|
||||
{/* generated:cli */}
|
||||
stale cli
|
||||
<!-- /generated:cli -->
|
||||
{/* /generated:cli */}
|
||||
|
||||
Tail copy.
|
||||
",
|
||||
|
|
@ -40,9 +40,9 @@ title: Settings
|
|||
|
||||
Settings intro copy.
|
||||
|
||||
<!-- generated:options -->
|
||||
{/* generated:options */}
|
||||
stale options
|
||||
<!-- /generated:options -->
|
||||
{/* /generated:options */}
|
||||
|
||||
Settings tail copy.
|
||||
",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue