Split the deployment group docs by task, not by difficulty - #14
Merged
Conversation
Two pages both called "Deployment Groups" covered overlapping ground, one under Setup and one under Advanced, so nothing told a reader which to open. The quickstart link was the symptom: it said "Deployment Groups" and landed on the conceptual page. setup/deployments now carries everything needed to run a group: targeting and the tag operator, version conditions, releases, and the safety controls, alongside the steps that were already there. Workflows become their own page. They are a separate artifact with their own lifecycle - a JSON file you author, upload and validate, with approval steps and a diagram - and none of the upload, validation or approval behaviour was documented anywhere. The example is the definition shipped in the repository rather than an invented one. Also corrects a claim: a workflow supersedes the group's concurrent_updates and priority queue, which the old page did not say. concepts/deployments is removed and redirects to setup/deployments. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two pages were both called Deployment Groups — one under Setup, one under Advanced — covering overlapping ground, both ending in CLI examples. Nothing told a reader which to open, which is why the quickstart link said "Deployment Groups" and landed on the conceptual page.
What changed
setup/deploymentsnow carries everything needed to run a group. The steps it already had, plus the material that was stranded on the other page: targeting and the tag operator, version conditions, releases, and the safety-control table. One page, one job.Workflows get their own page. They are a different kind of thing from "how deployment groups work" — a JSON file you author, upload, and validate, with approval gates and its own diagram. None of that lifecycle was documented anywhere.
concepts/deploymentsis removed and redirects to/setup/deployments, so the quickstart link now has an unambiguous target.Advanced becomes PKI, Firmware Signing, and Workflows — all genuinely optional depth, which fits the label better than it did.
The workflows page
Built from the implementation rather than invented. It documents what was missing entirely:
version, 1 to 6 steps, and every field a step takessteps/0withnamemeans the first step has no namename, includingapproval_requiredandcatch_allsteps, andstepscannot be emptyThe example is
test/fixtures/workflow-definition.jsonfrom the server repo — a four-step rollout that splits canaries by connection type, so a firmware that breaks cellular is caught on ten metered devices rather than the fleet. Better than anything invented for the purpose, and it is already covered by a test asserting it stays valid.One correction
The old page listed
concurrent_updatesamong the group's safety controls without mentioning that a workflow overrides it. The settings UI says otherwise:The same applies to the priority queue. Both are now stated on each page, with the boundary drawn: a workflow changes the order and pacing of a rollout, not what happens to a device that cannot take the update.
Also here
api/websocket-eventshad a broken#device-server-eventsanchor — Mintlify keeps the arrow when slugifying, so the real anchor is#device-→-server-events. It now links to#rebooting, the event the sentence is actually about. The fix already exists in #12, but that PR is blocked on the server-side spec fix, and this one would fail link-rot without it. #12 will need a rebase.Checks
Schema valid. 36 navigation pages all resolving, zero broken internal links, zero broken anchors, and all four redirects have their source removed.
🤖 Generated with Claude Code