Skip to content

docs(cli/sdk): regenerate CLI and SDK reference baseline - #949

Open
Gobind-Vast wants to merge 1 commit into
mainfrom
auto/cli-sdk-docs-baseline
Open

Gobind-Vast wants to merge 1 commit into
mainfrom
auto/cli-sdk-docs-baseline

Conversation

@Gobind-Vast

Copy link
Copy Markdown
Collaborator

Bootstrap baseline for re-landing the vast-cli auto-docs pipeline (vast-cli PR to follow).

Why this exists

Docs main has been unmanaged since the CLI/SDK docs pipeline was reverted in vast-cli #453. Measured against vast-cli master today, it had drifted:

count
CLI commands missing docs 25
CLI docs for removed commands 2
SDK methods missing docs 24
SDK docs for removed methods 1
CLI parameter mismatches 41
SDK parameter mismatches 14

The re-landed verify-docs workflow compares the CLI against docs main and fails on drift. Merging this first is what makes its first run green — otherwise the re-land produces a red CI run that looks exactly like the alarm that triggered revert #453.

How it was generated

vast-cli master's scripts, not PR #473's stale copies:

python scripts/generate_cli_sdk_docs.py \
  --output-dir <docs> --cli-subdir cli/reference \
  --sdk-subdir sdk/python/reference --manifest manifest.json
python scripts/patch_docs_nav.py --docs-json docs.json --manifest manifest.json
  • 135 CLI pages, 137 SDK pages
  • 48 pages added to nav; 2 nav entries removed (search-instances, show-instances-v1, both removed from the CLI)
  • Nav patcher exited 0 — its exit-2 unmatched-name guard did not fire
  • Hand-authored sdk/python/reference/vastai.mdx preserved

Worth a reviewer's attention

Includes the effect of vast-cli #497: create_instance's SDK reference now documents 29 parameters, all 29 of which the api layer accepts. Previously 11 of 27 documented params raised TypeError when called as documented.

🤖 Generated with Claude Code

Bootstrap baseline for re-landing the vast-cli auto-docs pipeline. Docs main
has been unmanaged since the pipeline was reverted (#453), so it had drifted
25 CLI commands / 24 SDK methods / 55 parameter mismatches behind vast-cli
master. Merging this first means the re-landed verify-docs check is green on
its first run instead of firing the same red alarm that caused the revert.

Generated with vast-cli master's scripts (NOT PR #473's stale copies):
  python scripts/generate_cli_sdk_docs.py \
    --output-dir <docs> --cli-subdir cli/reference \
    --sdk-subdir sdk/python/reference --manifest manifest.json
  python scripts/patch_docs_nav.py --docs-json docs.json --manifest manifest.json

  135 CLI pages, 137 SDK pages, 48 added to nav, 2 nav entries removed
  (search-instances, show-instances-v1 — both removed from the CLI).
  Nav patcher exited 0; its exit-2 unmatched-name guard did not fire.

Includes the effect of vast-cli #497: create_instance's SDK reference now
documents 29 parameters, all 29 of which the api layer accepts. Previously 11
of 27 documented params raised TypeError when called as documented.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
vastai-80aa3a82 🟢 Ready View Preview Sep 9, 2026, 10:32 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant