docs(install): add nightly install + docker tag guidance, and auto-bump version on release tag (#30308)

This commit is contained in:
zijiexia
2026-07-07 12:10:05 -07:00
committed by GitHub
parent 2ad9a243f5
commit 0bf7ddb481
4 changed files with 270 additions and 0 deletions
+12
View File
@@ -24,6 +24,18 @@ python scripts/release/bump_sglang_version.py 0.5.3rc0
- `python/pyproject_npu.toml`
- `python/sglang/version.py`
### `bump_docs_install_version.py`
Bumps the release version pinned in the Mintlify install docs — both the `git clone -b v<version> ...sglang.git` "install from source" line and the version-pinned `lmsysorg/sglang:v<version>` Docker example. Mutable tags (`latest`, `dev`) are intentionally left untouched. Driven automatically on release-tag push by [`.github/workflows/bot-bump-docs-version.yml`](../../.github/workflows/bot-bump-docs-version.yml), which opens a PR with the change.
**Usage:**
```bash
python scripts/release/bump_docs_install_version.py 0.5.13
```
**Files updated:**
- `docs_new/docs/get-started/install.mdx` (Method 2: From source; Method 3: pinned Docker image)
- `docs_new/docs/hardware-platforms/amd_gpu.mdx` (Install from Source)
### `bump_kernel_version.py`
Updates the `sglang-kernel` release version across all relevant files following the pattern from [PR #10732](https://github.com/sgl-project/sglang/pull/10732).