Skip to content

chore: fix redundancy in Admin > Templates page #462

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions admin/templates.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
---
title: Templates
description: Learn how to manage your Workspaces as Code Templates.
description: Learn how to manage your workspaces as code templates.
---

The **Templates** tab features options that control the behavior of workspace
templates.
templates, which are the basis of [workspaces as code](../workspaces/workspaces-as-code/index.md).

The **Enable using Workspace Templates** toggle allows you to enable or disable
the creation of [workspaces](../workspaces/index.md) using predefined templates
located in Git repositories.
## Enabling workspaces as code

By default, workspaces as code is an opt-in feature. The **Enable using
Workspace Templates** toggle allows you to enable or disable the creation of
[workspaces](../workspaces/index.md) using predefined templates located in Git
repositories.

![Enable workspace templates](../assets/enable-ws-templates.png)
To enable workspaces as code, go to **Admin > Templates** and set **Enable using
Workspace Templates** to **On**.

![Toggle workspaces as code](../assets/admin/wac_toggle.png)

## Template policy

Expand Down Expand Up @@ -87,11 +93,3 @@ Once you've filled out the form, Coder generates a custom Markdown snippet,
which you can then add to your repository's `README.md`.

![Open In Coder Button](../assets/admin/wac-badge.png)

## Enabling workspaces as code

By default, workspaces as code is an opt-in feature. To enable workspaces as
code, go to **Admin > Templates** and set **Enable using Workspace Templates**
to **On**.

![Toggle workspaces as code](../assets/admin/wac_toggle.png)
Binary file removed assets/enable-ws-templates.png
Binary file not shown.