From 218d6a92d490cdb5b2a460c1010b683f7e5894d4 Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Wed, 26 Apr 2023 09:11:12 -0300 Subject: [PATCH] docs(site): Mention template editor in template edit docs (#7261) --- docs/templates/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/templates/README.md b/docs/templates/README.md index 10f0c6f800..946119020d 100644 --- a/docs/templates/README.md +++ b/docs/templates/README.md @@ -244,9 +244,13 @@ resource "kubernetes_pod" "podName" { ### Edit templates -You can edit a template using the coder CLI. Only [template admins and +You can edit a template using the coder CLI or the UI. Only [template admins and owners](../admin/users.md) can edit a template. +Using the UI, navigate to the template page, click on the menu, and select "Edit files". In the template editor, you create, edit and remove files. Before publishing a new template version, you can test your modifications by clicking the "Build template" button. Newly published template versions automatically become the default version selection when creating a workspace. + +> **Tip**: Even without publishing a version as active, you can still use it to create a workspace before making it the default for everybody in your organization. This may help you debug new changes without impacting others. + Using the CLI, login to Coder and run the following command to edit a single template: