Skip to content

docs: default to 1.0-beta - #13939

Merged
shykes merged 16 commits into
mainfrom
13922-docs-default-1.0
Aug 20, 2026
Merged

shykes merged 16 commits into
mainfrom
13922-docs-default-1.0

Conversation

@shykes

@shykes shykes commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Implement #13922.

  • Docs now default to 1.0 beta release at /
  • Old 0.21 docs are available under /<version>
  • /next continues to document main ("next release")

Fixed version picker bug

Had its own redundant "default version" config, that was out of sync. Removed the custom config altogether.

Simplified docusaurus config

We simplified the docusaurus config, specifically how the default version is inferred. Less manual configuration, less messy glue code.

Also search scope required explicit config (which versions to include in search results). Now it's derived also.

Removed the broken 0.21.7 docs

/0.21.7/ was serving 1.0 beta docs wearing a 0.21.7 label — the backport-0.21 branch quietly picked up the beta docs, so the snapshot cut from that tag was wrong. Removed it; 0.21.4 is the real 0.21.

1.0.0-beta.10 snapshot

Cut from the v1.0.0-beta.10 git tag (not the in-development docs on main), via a new SnapshotRelease function in the docs-dev module. It hands back a changeset to review:

dagger call docs snapshot-release --version=v1.0.0-beta.10

Old links keep working

Any old 0.21 URL with no page under the beta default falls back to the same path under /0.21.4/ (a catch-all in netlify.toml) instead of 404ing.

Install instructions, per version

Each version now documents only the install methods its era actually shipped. Released docs install a specific version — never a dev build (DAGGER_COMMIT), which now lives only in /next.

Version install.sh install.ps1 brew winget
1.0.0-beta.10 DAGGER_VERSION DAGGER_VERSION DAGGER_X_RELEASE DAGGER_X_RELEASE
0.21.4 DAGGER_VERSION DAGGER_VERSION DAGGER_X_RELEASE DAGGER_X_RELEASE
0.20.2 DAGGER_VERSION DAGGER_VERSION predates X_RELEASE predates X_RELEASE
0.19.11 DAGGER_VERSION DAGGER_VERSION predates X_RELEASE predates X_RELEASE
0.18.19 DAGGER_VERSION DAGGER_VERSION predates X_RELEASE predates X_RELEASE
0.17.2 DAGGER_VERSION DAGGER_VERSION predates X_RELEASE predates winget
0.16.3 DAGGER_VERSION DAGGER_VERSION predates X_RELEASE predates winget

Script installers pin the exact version (DAGGER_VERSION). Package managers only carry latest, so pinning to a specific version uses DAGGER_X_RELEASE — available from 0.21 on; "predates" marks methods/flags a version is too old to have.

@shykes
shykes force-pushed the 13922-docs-default-1.0 branch from 29794e8 to 956ba78 Compare August 20, 2026 17:57
@shykes
shykes marked this pull request as ready for review August 20, 2026 19:56
@shykes
shykes requested a review from a team as a code owner August 20, 2026 19:56
@shykes
shykes requested a review from kpenfound August 20, 2026 19:56
shykes added 7 commits August 20, 2026 13:29
Read Docusaurus's own version data instead of a swizzle that disagreed with the config.

Signed-off-by: Solomon Hykes <[email protected]>
Skip versioned routes structurally instead of hardcoding the latest version.

Signed-off-by: Solomon Hykes <[email protected]>
Drop lastVersion; the default is now versions.json[0].

Signed-off-by: Solomon Hykes <[email protected]>
Wraps docusaurus docs:version and returns a changeset to review.

Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
It was 1.0 beta docs mislabeled as stable.

Signed-off-by: Solomon Hykes <[email protected]>
Old 0.21-era paths dropped by the 1.0 restructure fall back to the same path under /0.21.4/ instead of 404ing. A guard rule keeps the catch-all from looping.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
shykes force-pushed the 13922-docs-default-1.0 branch from 465233d to 3393f91 Compare August 20, 2026 20:29
shykes added 7 commits August 20, 2026 13:59
The beta.10 snapshot is cut from the v1.0.0-beta.10 tag, which predates Kyle's installation-section cleanup on main. Port those 8 files onto the snapshot so the default docs show the cleaned-up install pages, keeping the beta.10 version stamp.

Signed-off-by: Solomon Hykes <[email protected]>
Replace the imported _install-cli partial with Kyle's inlined, simplified install page. Drops the DAGGER_COMMIT dev-release section, which doesn't belong in a released version's docs (only /next installs dev builds).

Signed-off-by: Solomon Hykes <[email protected]>
Inline the install partial and drop the DAGGER_COMMIT dev-release section. DAGGER_X_RELEASE is omitted -- this version predates it (added in 0.21).

Signed-off-by: Solomon Hykes <[email protected]>
Inline the install partial and drop the DAGGER_COMMIT dev-release section. DAGGER_X_RELEASE is omitted -- this version predates it (added in 0.21).

Signed-off-by: Solomon Hykes <[email protected]>
Inline the install partial and drop the DAGGER_COMMIT dev-release section. DAGGER_X_RELEASE is omitted -- this version predates it (added in 0.21).

Signed-off-by: Solomon Hykes <[email protected]>
Remove the DAGGER_COMMIT dev-release section; a released version's docs should install that release, not a dev build.

Signed-off-by: Solomon Hykes <[email protected]>
Remove the DAGGER_COMMIT dev-release section; a released version's docs should install that release, not a dev build.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
shykes force-pushed the 13922-docs-default-1.0 branch from bfff971 to f7672ed Compare August 20, 2026 22:12
The release module depends on docs-dev; its generated client stub was stale after the SnapshotRelease change. Regenerated against the branch engine so dagger-go-sdk:generate is in sync.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
shykes merged commit 13d493e into main Aug 20, 2026
89 checks passed
@shykes
shykes deleted the 13922-docs-default-1.0 branch August 20, 2026 23:10
@shykes shykes mentioned this pull request Aug 25, 2026
4 of 7 tasks
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.

2 participants