Skip to content

Commit c3346fc

Browse files
author
Katie Horne
authored
chore: review, update docs that haven't been modified in 60+ days (#435)
1 parent 5e827a7 commit c3346fc

File tree

10 files changed

+87
-108
lines changed

10 files changed

+87
-108
lines changed

admin/registries/index.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@ image metadata.
1414
You can add registries during the process of
1515
[adding images](../../images/index.md).
1616

17-
To import an image, go to **Images** > **Import Image** in the upper-right. In
18-
the dialog that opens, you'll be prompted to pick a registry by default.
19-
However, to _add_ a registry, click **Add a new registry**, which is the option
20-
located immediately below the registry selector.
21-
22-
You'll be asked to provide:
23-
24-
- A **registry name**
25-
- The **registry**
26-
- A **username** and **password** combination (if needed for access to the
27-
registry)
28-
29-
Then, continue with the process of [adding your image](../../images/index.md).
30-
When done, click **Import**.
17+
To import an image:
18+
19+
1. Go to **Images** > **Import Image** in the upper-right.
20+
1. In the dialog that opens, you'll be prompted to pick a registry by default.
21+
However, to _add_ a registry, click **Add a new registry**, which is the
22+
option located immediately below the registry selector.
23+
1. You'll be asked to provide a **registry name**, the **registry**, and a
24+
**username** and **password** combination (if needed for access to the
25+
registry).
26+
1. Then, continue with the process of [adding your
27+
image](../../images/index.md).
28+
1. When done, click **Import**.
3129

3230
## Deleting a registry
3331

3432
> You cannot delete a registry if there are workspaces using images from that
3533
> registry.
3634
37-
To delete a registry, go to the **Images** > **Registries** page. Find the
38-
registry that you'd like to remove, click its **horizontal ellipses** icon, and
39-
select **Delete**.
35+
To delete a registry:
36+
37+
1. Go to the **Images** > **Registries** page.
38+
1. Find the registry that you'd like to remove, click its **horizontal
39+
ellipsis** icon, and select **Delete**.
4040

4141
## Unsupported registries
4242

admin/workspace-management/index.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,20 @@ Administrative users can modify a variety of workspace-related behaviors.
88
- From the Coder UI's **Manage** > **Admin** > **Infrastructure** tab, you can
99
enable and configure the following features:
1010

11-
- [GPU acceleration](gpu-acceleration.md)
11+
- [Access URL](../access-url.md)
12+
- [GPU vendor](gpu-acceleration.md)
1213
- [Workspace container runtime](cvms.md)
1314
- [Default registries](../registries/default-registry.md)
1415
- [Extensions](extensions.md)
16+
- [Dev URL access permissions](../devurls.md#setting-dev-url-access-permissions)
17+
- [Browser security](../security.md)
1518
- [Memory overprovisioning](memory-overprovisioning.md)
1619

17-
- You can also modify the [Workspace shutdown behavior](shutdown.md) on a
20+
- You can modify the [workspace shutdown behavior](shutdown.md) on a
1821
per-organization basis to optimize resource usage.
1922

23+
- You can [install multiple IDEs](installing-jetbrains.md) onto your image so
24+
that users have alternatives to the default option (VS Code).
25+
2026
- You can [disable SSH access](ssh-access.md) for users by editing the Helm
2127
values file (Coder enables SSH access to workspaces by default).
22-
23-
<children></children>

guides/customization/gitconfig.md

+20-21
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,43 @@
11
---
2-
title: Managing Git configuration
2+
title: Git configuration
33
description: Learn how to configure Git in Coder.
44
---
55

66
This guide will show you how to manage your Git configuration in Coder.
77

88
## Personal git configurations
99

10-
Coder will create a global git configuration file located at `~/.gitconfig` in
11-
all newly created workspaces and set the user name and email address using the
12-
information associated with the user's Coder account.
10+
Coder will create a global Git configuration file located at `~/.gitconfig` in
11+
all newly created workspaces. Coder will also set the user name and email
12+
address based on the user's Coder account information.
1313

1414
This step occurs before [coder/configure](images/../../../images/configure.md)
15-
and [personalization](../../workspaces/personalization.md), which can be used to
16-
override the default `.gitconfig` created by Coder. If there's already a
17-
`.gitconfig` file, Coder will not recreate a default version when you rebuild an
18-
workspace.
15+
and [personalization](../../workspaces/personalization.md). This means that you
16+
can use both files to override the default `.gitconfig` created by Coder.
1917

20-
We recommend that each Coder user set and modify their personal .gitconfig file
21-
using the [~/personalize script](../../workspaces/personalization.md).
18+
> If there's already a `.gitconfig` file, Coder will not recreate a default
19+
version when you rebuild a workspace.
2220

21+
We recommend that each Coder user set and modify their personal `.gitconfig`
22+
file using the [~/personalize script](../../workspaces/personalization.md).
2323
**Preferences defined using individual `.gitconfig` files take precedence over
2424
system-level settings.**
2525

26-
## System and global git configurations
26+
## System and global Git configurations
2727

28-
If you have a set of git configuration instructions that apply to your
29-
organization as a whole, you can define and use a system-level git
30-
configuration. We suggest adding the system-level `.gitconfig` directly to the
31-
image's Dockerfile:
28+
If you have a set of instructions that apply to your organization as a whole,
29+
you can define and use a system-level Git configuration file. We suggest adding
30+
the system-level `.gitconfig` directly to the image's Dockerfile:
3231

3332
```Dockerfile
3433
# Add system-level gitconfig
3534
COPY ["gitconfig", "/etc/gitconfig"]
3635
```
3736

38-
As you can see from the example, system-level git configurations live under
39-
`/etc/gitconfig`. If present, `git` applies the settings to each repository.
40-
However, any Coder user can override system-level settings using global or
41-
worktree git configurations.
37+
System-level git configurations live under `/etc/gitconfig`. If this file is
38+
present, `git` applies the settings defined to each repository. However, any
39+
Coder user can override system-level settings using global or worktree git
40+
configurations.
4241

43-
For more information on git configuration, refer to the
44-
[official documentation](https://git-scm.com/docs/git-config)
42+
For more information on Git configuration, refer to the [official
43+
documentation](https://git-scm.com/docs/git-config).

images/ssl-certificates.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,25 @@ title: "SSL certificates"
33
description: Learn how to add SSL certificates to Coder images
44
---
55

6+
This article will show you how to correct issues regarding SSL certificates in
7+
Coder.
8+
9+
## Background
10+
611
Coder may sometimes fail to download extensions for your IDE if the remote
712
extension marketplace URL is untrusted. This might happen for one of the
813
following reasons:
914

1015
- The image doesn't come with any ca-certificates
1116
- You're using an internal certificate authority
1217

13-
The following sections will show you how to correct these issues.
14-
1518
## Adding certificates for Coder
1619

1720
To add certificates to your image and have them recognized by Coder:
1821

1922
1. Add the certificate(s) to the image
20-
1. Set the NODE_EXTRA_CA_CERTS workspace variable to the file in the image that
21-
contains the certificates
23+
1. Set the `NODE_EXTRA_CA_CERTS` environment variable to the file in the image
24+
that contains the certificates
2225
1. Add the following to your Dockerfile to ensure that Coder finds and uses your
2326
newly added certificates when making requests:
2427

images/writing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Custom images allow you to define workspaces that include the dependencies,
77
scripts, and user preferences helpful for your project.
88

99
> If you're unfamiliar with how to create, build, and push Docker Images, please
10-
> see
11-
> [this tutorial by Docker](http://blog.shippable.com/build-a-docker-image-and-push-it-to-docker-hub)
10+
> review [this tutorial by
11+
> Docker](http://blog.shippable.com/build-a-docker-image-and-push-it-to-docker-hub)
1212
> before proceeding.
1313
1414
## Creating a custom image
@@ -81,7 +81,7 @@ RUN ln -s /opt/clion/bin/clion.sh /usr/bin/clion
8181

8282
To get an idea of what you can include in your images, see:
8383

84-
- [Ben's Coder Images](https://github.com/bpmct/cdr-images) (frequently referred
84+
- [Ben's Coder images](https://github.com/bpmct/cdr-images) (frequently referred
8585
to in [Coffee and Coder](https://community.coder.com/coffee-and-coder) and the
8686
[Coder blog](https://coder.com/blog))
87-
- [Sample Coder Images](https://github.com/cdr/enterprise-images)
87+
- [Sample Coder images](https://github.com/cdr/enterprise-images)

manifest.json

+3
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@
8282
{
8383
"path": "./images/tags.md"
8484
},
85+
{
86+
"path": "./images/writing.md"
87+
},
8588
{
8689
"path": "./images/configure.md"
8790
},

setup/configuration.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,29 @@ Coder provides you with your licensing information, which looks like:
3030
{"owner":"yourName","issued_at":"2020-01-01T00:00:00Z","expires_at":"2020-01-02T00:00:00Z","max_usage":{"user_count":10},"paid":false,"nonce":"MjA...MDA=","version":1,"checksum":"VtG...uQ=="}
3131
```
3232

33-
Copy this information into the text editor of your choice, and save it as a .txt
34-
or a JSON file. You'll need to upload this file at two points during the setup
35-
and configuration processes.
33+
Copy this information into the text editor of your choice, and save it as a
34+
`.txt` or a `.json` file. You'll need to upload this file at **two** points
35+
during the setup and configuration processes.
3636

3737
## Providing your license
3838

3939
Immediately after logging into Coder for the first time, you'll be prompted to
40-
upload your license (you must provide a JSON file).
40+
upload your license (you must provide a `.txt` or `.json` file).
4141

4242
Once done, you can proceed with the Coder configuration process.
4343

4444
## Configure your Coder deployment
4545

46-
Once you log in to Coder's Web UI, you'll be walked through a configuration
47-
dashboard. You can specify the authentication method used for logins, provide
48-
your license information, and more.
46+
Immediately after logging in to Coder's Web UI, you'll be walked through a
47+
configuration dashboard. You can specify the authentication method used for
48+
logins, provide your license information, and more.
4949

50-
After you complete this process, you'll be redirected to the main Coder
50+
When you complete this process, you'll be redirected to the main Coder
5151
dashboard, where you can create new users, images, and workspaces.
5252

53-
> After completing the configuration process, we recommend creating a **site
54-
> manager** user that can be used to create additional users and resources. **We
55-
> recommend using the site admin user only for initial configuration purposes.**
53+
> As part of the configuration process, we recommend creating a **site manager**
54+
> user that can be used to create additional users and resources. **We suggest
55+
> using the site admin user only for initial configuration purposes.**
5656
5757
### Best practices
5858

setup/kubernetes/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You can install and deploy Coder onto any Kubernetes cluster (version 1.13.7+)
77
that meets the [requirements](../requirements.md).
88

99
To help you get up and running, Coder offers the following deployment guides (if
10-
you're all set up with a Kubernetes cluster, please proceed to
10+
you're already set up with a Kubernetes cluster, please proceed to
1111
[installation](../installation.md)):
1212

1313
<children></children>

workspaces/preferences.md

+14-9
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,21 @@ title: "User preferences"
33
description: Learn how to manage your Coder account preferences.
44
---
55

6-
The User Preferences area of the Coder UI allows you to manage your account. To
7-
access this area, click on your avatar in the top-right, and click on either
8-
**Account** or your avatar in the drop-down menu.
6+
The **User Preferences** area of the Coder UI allows you to manage your account.
7+
8+
To access **User Preferences**, click on your avatar in the top-right, then
9+
click on either **Account** or your avatar in the drop-down menu.
910

1011
## Account
1112

1213
The **Account** tab allows you to provide or change:
1314

15+
- Your avatar
1416
- Your display name
1517
- Email address
1618
- Username (this is the value that Coder uses throughout the platform, including
17-
in dev URLs and the CLI's SSH configuration)
19+
dev URLs and the CLI's SSH configuration)
1820
- Your dotfiles URI to personalize your workspaces
19-
- Your avatar
2021

2122
## Security
2223

@@ -29,9 +30,9 @@ combination).
2930
> organization's account management system. See your system administrator for
3031
> more information.
3132
32-
## SSH key
33+
## SSH keys
3334

34-
The **SSH Key** page is where you'll find the public key corresponding to the
35+
The **SSH Keys** page is where you'll find the public key corresponding to the
3536
private key that Coder inserts automatically into your workspaces. The public
3637
key is useful for services, such as Git, Bitbucket, GitHub, and GitLab, that you
3738
need to access from your workspace.
@@ -64,5 +65,9 @@ Please note that:
6465
- You must enable native notifications for each browser on which you run Coder
6566
Enterprise
6667

67-
You can check whether notifications are enabled and working by click **Test
68-
Notifications**.
68+
You can check whether notifications are enabled and working by click **Test**.
69+
70+
## Autostart
71+
72+
Autostart allows you to set the time when Coder automatically starts and builds
73+
your workspaces. See [Autostart](autostart.md) for more information.

workspaces/pwa.md

+2-37
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
---
22
title: "Progressive web apps"
3-
description:
4-
Learn how to install the editor PWAs for a native IDE-like browser editing
5-
experience.
3+
description: Learn how to install the editor PWAs for a native IDE-like browser editing experience.
64
---
75

86
In addition to running Coder in a web browser, you can also run each application
97
as a progressive web application (PWA). Using Coder as a PWA offers you an
10-
experience that is akin to a native application and offers improved performance.
8+
experience akin to a native application and improved performance.
119

1210
## Requirements
1311

@@ -21,36 +19,3 @@ To use Coder as a PWA, you must be using Google Chrome or Microsoft Edge.
2119
1. Follow your browser's instructions for installing the application as a PWA.
2220

2321
Please note that applications are currently installed on a per-workspace basis.
24-
25-
## Coder PWA for v. 1.14.x or Earlier
26-
27-
> The following instructions are applicable only if you're using Coder v 1.14.x
28-
> or earlier.
29-
30-
## Chrome installation
31-
32-
You can install Coder as a PWA when using Chrome in one of three ways:
33-
34-
1. Click **Install App**, which is located at the top of the Coder Dashboard.
35-
1. Go to your **Settings** menu, and select **Install Coder**.
36-
1. Click the **plus** icon located in the browser's URL bar.
37-
38-
### Uninstalling the Chrome progressive web app
39-
40-
To remove the Coder progressive web app at any time, go to **Settings** >
41-
**Uninstall Coder**. You'll be prompted to remove Coder; confirm by clicking
42-
**Remove**. You can also check the box to clear Coder data if desired.
43-
44-
## Edge installation
45-
46-
You can install Coder as a PWA when using Edge in one of three ways:
47-
48-
1. Click **Install App**, which is located at the top of the Coder Dashboard.
49-
1. Click the **plus** icon located in the browser's URL bar.
50-
1. Go to Settings > Apps and select **Install Coder**.
51-
52-
### Uninstalling the Edge progressive web app
53-
54-
To remove the Coder progressive web app, go to **Settings** > **Uninstall
55-
Coder**. You'll be prompted to remove Coder; confirm by clicking **Remove**. You
56-
can also check the box to clear Coder data (if desired).

0 commit comments

Comments
 (0)