Skip to content

Commit 906dc40

Browse files
committed
docs(prompts): use canonical fastmcp-prompt-* refs in overview bullet list
sphinx-autodoc-fastmcp registers section labels as ``fastmcp-<kind>-<slug>`` and only tools keep the bare slug as an alias (gp-sphinx/sphinx_autodoc_fastmcp/_directives.py:82-104). The bullet-list refs in docs/prompts.md were using bare slugs (``run-and-wait`` etc.) that were never registered for prompts, producing four ``undefined label`` warnings on every build. Rename each ref to its canonical namespaced form.
1 parent 7e061fc commit 906dc40

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/prompts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ counterpart to the longer narrative recipes in {doc}`/recipes`.
1010

1111
Four prompts ship today:
1212

13-
- {ref}`run-and-wait` — execute a shell command and block until it
13+
- {ref}`fastmcp-prompt-run-and-wait` — execute a shell command and block until it
1414
finishes, preserving exit status.
15-
- {ref}`diagnose-failing-pane` — gather pane context and produce a
15+
- {ref}`fastmcp-prompt-diagnose-failing-pane` — gather pane context and produce a
1616
root-cause hypothesis without taking action.
17-
- {ref}`build-dev-workspace` — set up a 3-pane editor / shell / logs
17+
- {ref}`fastmcp-prompt-build-dev-workspace` — set up a 3-pane editor / shell / logs
1818
layout shell-agnostically.
19-
- {ref}`interrupt-gracefully` — send SIGINT and verify the shell
19+
- {ref}`fastmcp-prompt-interrupt-gracefully` — send SIGINT and verify the shell
2020
prompt returns, refusing to auto-escalate.
2121

2222
```{tip}

0 commit comments

Comments
 (0)