docs: update template creation docs for template builder - #26993
Conversation
Update documentation across 9 files to reflect the template builder as the primary template creation method. The builder is a guided wizard that lets admins select base infrastructure, add registry modules, and produce validated Terraform without writing HCL. - Add template builder section to creating-templates.md as primary path - Update quickstart and first-template tutorials to use the builder - Add template builder screenshots for each wizard step - Add air-gapped deployment notes for CODER_DISABLE_TEMPLATE_BUILDER and CODER_TEMPLATE_BUILDER_REGISTRY_URL - Update secondary references in managing-templates, envbuilder, template-from-scratch, and screenshots docs - Fix existing typos and inconsistencies in template docs
Docs preview📖 View docs preview for |
No devcontainer-compatible base templates exist in the builder yet, so the envbuilder docs should keep the existing flow.
Keep the <div class="tabs"> structure with Template builder, CLI, and CI/CD as parallel creation methods under "From a starter template". Update cross-reference anchors in index.md, managing-templates, and template-from-scratch to match the new heading.
Documentation CheckUpdates Needed
Cleanup Suggested
Automated review via Coder Agents |
- Update 'starter template' phrasing in first-workspace.md and managing-templates/index.md - Remove 7 orphaned images no longer referenced by any doc
Direct users to the upload flow via the builder's alternative links since no devcontainer-compatible base templates exist in the builder yet.
nickvigilante
left a comment
There was a problem hiding this comment.
Overall really solid PR! I do want to chat with you separately about the base template used in the Get Started guide, just because I've planned a few deliberate tutorials based on the existing Coder Quickstart template, so I want to strategize with you on that a bit. I'll reach out separately.
There was a problem hiding this comment.
This file isn't part of manifest.json, so I wonder if it's even necessary to edit this. No action as of now; this won't affect the review. Probably a note for me to move us to use YAML front matter and include draft: true to avoid editing files more than necessary.
There was a problem hiding this comment.
Same thing about this not being in the manifest.json. No action here.
- Use 'guides you through' instead of 'walks you through' (inclusive) - Replace 'this step lets you' with direct phrasing (Red Hat style) - Use 'visit' instead of 'see' for screen reader accessibility - Use '>' for UI element chaining (Microsoft convention) - Convert Docker note to [!NOTE] block, remove exclamation point - Fix VS Code Desktop mention (enabled by default), use Claude Code and JetBrains as examples instead - Apply one-sentence-per-line in envbuilder Dashboard tab - Use 'dev-container-compatible' hyphenation in envbuilder doc
nickvigilante
left a comment
There was a problem hiding this comment.
LGTM! Thanks for writing this up
🚀
Summary
Update documentation across 9 files to present the template builder as the primary template creation method, replacing the old starter templates flow as the default entry point.
The template builder is a guided wizard that lets admins select base infrastructure, add registry modules, configure variables, and produce validated Terraform without writing HCL.
Changes
Primary docs (significant rewrites):
docs/admin/templates/creating-templates.md: Added "Using the template builder" as the first section with full 5-step wizard documentation, screenshots, airgap/registry notes, and alternative creation links. Moved CLI starter template flow to its own section. Fixed "You can the" typo.docs/get-started/index.md: Rewrote Steps 4-6 to use the builder with the Docker base template instead of the Coder Quickstart (which is not a builder base template). Generalized workspace parameter instructions.docs/start/first-template.md: Rewrote to use the builder. Removed old starter templates references, TODO notes, typo, and commented-out sections.Secondary docs (targeted edits):
docs/admin/templates/index.md: Replaced starter templates section with builder-first "Create a template" section.docs/admin/templates/managing-templates/index.md: Renamed "Starter templates" to "Creating templates" pointing to the builder.docs/install/airgap.md: Added "Template builder" section documentingCODER_DISABLE_TEMPLATE_BUILDERandCODER_TEMPLATE_BUILDER_REGISTRY_URL.docs/tutorials/template-from-scratch.md: Added TIP callout recommending the builder. Fixedcoder templates create->coder templates pushinconsistency.docs/admin/integrations/devcontainers/envbuilder/add-envbuilder.md: Updated Dashboard tab to reference the builder and "Upload an existing template" alternative.docs/about/screenshots.md: Updated caption and image reference for template builder.Screenshots added:
templatebuilder_01_bases.png(base selection step)templatebuilder_02_modules.png(module selection step)templatebuilder_03_module_customization.png(module settings step)templatebuilder_04_customizations.png(template customizations step)Implementation plan
Plan: Update docs/ for Template Builder Launch
Summary
The Template Builder is a new guided wizard at
/templates/new/builderthat lets admins create templates by selecting a base infrastructure template, composing it with registry modules, configuring variables, and producing a validated Terraform bundle without writing HCL. The docs need to be updated to present this as the primary/recommended template creation path, while preserving the existing paths (upload, CLI, duplicate) as alternatives.Key behavioral facts from the code
/templates/new/builder(new),/templates/new(old, still exists)/templates/new/builderwhen the builder is enabled; otherwise falls back to/starter-templatesCODER_DISABLE_TEMPLATE_BUILDERenv var /--disable-template-builderflag. When disabled, redirects to old/templates/newflowCODER_TEMPLATE_BUILDER_REGISTRY_URL(default:registry.coder.com)registry.coder.comforterraform initat compose timeFiles to update
Tier 1: Primary creation flow docs (significant rewrites)
1.
docs/admin/templates/creating-templates.mdCurrent state: Documents three creation paths: "From a starter template" (primary), "From an existing template", "From scratch (advanced)".
Changes:
registry.coder.com.CODER_DISABLE_TEMPLATE_BUILDER).CODER_TEMPLATE_BUILDER_REGISTRY_URLoption for self-hosted registry mirrors.2.
docs/start/first-template.mdCurrent state: Beginner tutorial walking through creating a template from the Docker starter template via the old flow. Has a typo (
sat end of line 32), commented-out workspace creation section, and TODO notes.Changes:
s).3.
docs/get-started/index.mdCurrent state: Quickstart guide. Step 4 says "Select Templates → New Template" then pick "Coder Quickstart" from starter templates.
Changes:
create-quickstart-template.pngwill need a new screenshot (note this in the PR; screenshots are out of scope for this change but should be flagged).Tier 2: Secondary references (targeted edits)
4.
docs/admin/templates/index.mdCurrent state: Overview page mentioning starter templates as the primary creation path.
Changes:
[Create a template with the template builder](./creating-templates.md#using-the-template-builder).5.
docs/admin/templates/managing-templates/index.mdCurrent state: Documents starter templates, editing, updating, deleting.
Changes:
starter-templates.pngif it shows the old flow.6.
docs/tutorials/template-from-scratch.mdCurrent state: Detailed tutorial for writing a template from scratch with Terraform.
Changes:
docs/admin/templates/creating-templates.md#using-the-template-builder./templates/new(or through the "Upload an existing template" link in the builder's alternatives).coder templates createbut the code block usescoder templates push.7.
docs/admin/integrations/devcontainers/envbuilder/add-envbuilder.mdCurrent state: Documents creating envbuilder templates via Dashboard, CLI, and Registry tabs.
Changes:
/templates/newdirectly.8.
docs/install/airgap.mdCurrent state: Documents air-gapped installations. No mention of Template Builder.
Changes:
registry.coder.com.CODER_DISABLE_TEMPLATE_BUILDERfor fully air-gapped deployments.CODER_TEMPLATE_BUILDER_REGISTRY_URLfor deployments using a self-hosted registry mirror.9.
docs/about/screenshots.mdCurrent state: Contains a caption "Template administrators can either create a new Template from scratch or choose a Starter Template".
Changes:
Tier 3: Minor/link-only updates
10.
docs/admin/users/organizations.md11.
docs/ai-coder/tasks.mdFiles NOT to update
docs/reference/api/templatebuilder.md: Auto-generated API reference. Already correct.docs/reference/api/schemas.md: Auto-generated. Already correct.docs/reference/cli/server.md: Auto-generated. Already has--disable-template-builderand--template-builder-registry-url.docs/reference/cli/templates_create.md: Already deprecated.docs/reference/cli/templates.md: No changes needed.Implementation order
docs/admin/templates/creating-templates.md(primary creation docs, most content)docs/get-started/index.md(quickstart)docs/start/first-template.md(beginner tutorial)docs/admin/templates/index.md(overview)docs/admin/templates/managing-templates/index.md(managing overview)docs/install/airgap.md(airgap note)docs/tutorials/template-from-scratch.md(from-scratch tutorial)docs/admin/integrations/devcontainers/envbuilder/add-envbuilder.md(envbuilder)docs/about/screenshots.md(screenshot captions)Style notes
make fmt/markdownandmake lint/markdownafter all changes.docs/manifest.json(no new pages being added, only existing pages being updated).