Skip to content

docs(cli): fold standalone cli-* pages into cli.md sections - #1303

Merged
edenreich merged 2 commits into
mainfrom
docs/issue-1301-20261123-2146
Nov 23, 2026
Merged

edenreich merged 2 commits into
mainfrom
docs/issue-1301-20261123-2146

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

All CLI features now live in cli.md. The 8 standalone cli-*.md pages are folded into ## sections and deleted.

Old page New anchor
cli-channels.md /cli/#channels
cli-scheduling.md /cli/#scheduling
cli-hooks.md /cli/#command-hooks
cli-judge-mode.md /cli/#judge-mode
cli-skills.md /cli/#skills
cli-speech-to-text.md /cli/#speech-to-text
cli-text-to-speech.md /cli/#text-to-speech
cli-text-to-video.md /cli/#text-to-video

Changes

  • Sections are placed before ## Configuration, with every heading demoted one level.
  • Subheadings use explicit section-prefixed ids (for example {#judge-mode-configuring-the-judge-judge-yaml}). This keeps generic subheadings like "Troubleshooting", "Configuration reference" and "Related" from colliding with each other or with existing cli.md anchors. The built page has no duplicate ids.
  • Every /cli-*/... link is repointed: same-page #... links inside cli.md, and /cli/#... from desktop.md, api-reference.md, skills.md, opentask.md, github-action.md and examples.md. Old links that used the wrong form (for example #configuring-the-judge-judgeyaml instead of judge-yaml) now resolve.
  • Removed the nav and sidebar entries in .vitepress/config.ts and the public/llms.txt entries. The llms.txt CLI line now lists the folded features.
  • Removed the self-referencing [CLI](/cli/) "Related" bullets from the folded sections.
  • AGENTS.md: the CLI convention no longer treats standalone cli-*.md pages as an allowed exception.

Validation

  • bun run lint:md, bun run format:check, bun run build all pass.
  • Checked every /cli/#... link across the docs and every #... link in cli.md against the ids in .vitepress/dist/cli/index.html. All links added or changed here resolve.

Notes

  • Old /cli-*/ URLs will 404 after deploy. The site has no redirect setup, so none were added.
  • 21 anchor links that were already broken before this change are left as they were (for example #serve-worker---serve, #browsing-the-sessions-artifacts, #headless-mode, #autojudge-mode in cli.md and opentask.md). Worth a small follow-up.

Closes #1301

Generated with Claude Code

@inference-gateway-releaser

inference-gateway-releaser Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@inference-gateway-maintainer inference-gateway-maintainer Bot moved this to Todo in 2026 Nov 23, 2026
@edenreich
edenreich merged commit 5d46e21 into main Nov 23, 2026
8 checks passed
@edenreich
edenreich deleted the docs/issue-1301-20261123-2146 branch November 23, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

docs(cli): fold the channels page into a cli.md section

1 participant