mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
fix(cli): wrap angle-bracket placeholders in backticks in help text
Bare `<slug>` and `<run-id>:<path>` in clap help text generate doc table cells where MDX parses the placeholders as JSX tags and fails the Mintlify build. Wrap them in backticks so the generated table cells route them through inline code spans where MDX leaves them alone. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9b7c1907eb
commit
258e46e954
1 changed files with 3 additions and 3 deletions
|
|
@ -497,9 +497,9 @@ pub(crate) struct CpArgs {
|
|||
#[command(flatten)]
|
||||
pub(crate) server: ServerTargetArgs,
|
||||
|
||||
/// Source: <run-id>:<path> or local path
|
||||
/// Source: `<run-id>:<path>` or local path
|
||||
pub(crate) src: String,
|
||||
/// Destination: <run-id>:<path> or local path
|
||||
/// Destination: `<run-id>:<path>` or local path
|
||||
pub(crate) dst: String,
|
||||
/// Recurse into directories
|
||||
#[arg(short, long)]
|
||||
|
|
@ -1462,7 +1462,7 @@ pub(crate) struct InstallGithubArgs {
|
|||
#[arg(long)]
|
||||
pub(crate) strategy: Option<InstallGitHubStrategyArg>,
|
||||
|
||||
/// GitHub App owner: 'personal' or 'org:<slug>' (app only, requires
|
||||
/// GitHub App owner: `personal` or `org:<slug>` (app only, requires
|
||||
/// --non-interactive)
|
||||
#[arg(long)]
|
||||
pub(crate) owner: Option<String>,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue