Skip to content

Commit 4733484

Browse files
committed
added appearance as a subsection of setup
1 parent 53aba05 commit 4733484

31 files changed

+152
-48
lines changed

docs/admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
These guides contain information on managing the Coder control plane and [authoring templates](./templates/README.md).
44

5-
First time viewers looking to set up control plane access can start with the [configuration guide](./setup.md). If you're a team lead looking to design environments for your developers, check out our [templates guides](./templates/README.md). If you are a developer using Coder, we recommend the [user guides](../user-guides/README.md).
5+
First time viewers looking to set up control plane access can start with the [configuration guide](./setup/README.md). If you're a team lead looking to design environments for your developers, check out our [templates guides](./templates/README.md). If you are a developer using Coder, we recommend the [user guides](../user-guides/README.md).
66

77
For automation and scripting workflows, see our [CLI](../reference/cli/README.md) and [API](../reference/api/README.md) docs.
88

docs/admin/monitoring/health-check.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The deployment health page is broken up into the following sections:
1313
## Access URL
1414

1515
The Access URL section shows checks related to Coder's
16-
[access URL](../setup.md#access-url).
16+
[access URL](../setup/README.md#access-url).
1717

1818
Coder will periodically send a GET request to `${CODER_ACCESS_URL}/healthz` and
1919
validate that the response is `200 OK`. The expected response body is also the
@@ -27,7 +27,8 @@ _Access URL not set_
2727

2828
**Problem:** no access URL has been configured.
2929

30-
**Solution:** configure an [access URL](../setup.md#access-url) for Coder.
30+
**Solution:** configure an [access URL](../setup/README.md#access-url) for
31+
Coder.
3132

3233
### EACS02
3334

docs/admin/networking/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ In order for clients to be able to establish direct connections:
5959
## coder server
6060

6161
Workspaces connect to the coder server via the server's external address, set
62-
via [`ACCESS_URL`](../../admin/setup.md#access-url). There must not be a NAT
62+
via [`ACCESS_URL`](../../admin/setup/README.md#access-url). There must not be a NAT
6363
between workspaces and coder server.
6464

6565
Users connect to the coder server's dashboard and API through its `ACCESS_URL`

docs/admin/networking/port-forwarding.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ For more examples, see `coder port-forward --help`.
4949
## Dashboard
5050

5151
> To enable port forwarding via the dashboard, Coder must be configured with a
52-
> [wildcard access URL](../../admin/setup.md#wildcard-access-url). If an access
53-
> URL is not specified, Coder will create
54-
> [a publicly accessible URL](../../admin/setup.md#tunnel) to reverse proxy the
55-
> deployment, and port forwarding will work.
52+
> [wildcard access URL](../../admin/setup/README.md#wildcard-access-url). If an
53+
> access URL is not specified, Coder will create
54+
> [a publicly accessible URL](../../admin/setup/README.md#tunnel) to reverse
55+
> proxy the deployment, and port forwarding will work.
5656
>
5757
> There is a
5858
> [DNS limitation](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.1)
File renamed without changes.

docs/admin/setup/appearance.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# Appearance (enterprise) (premium)
2+
3+
Customize the look of your Coder deployment to meet your enterprise
4+
requirements.
5+
6+
You can access the Appearance settings by navigating to
7+
`Deployment > Appearance`.
8+
9+
![application name and logo url](../../images/admin/setup/appearance/application-name-logo-url.png)
10+
11+
## Application Name
12+
13+
Specify a custom application name to be displayed on the login page. The default
14+
is Coder.
15+
16+
## Logo URL
17+
18+
Specify a custom URL for your enterprise's logo to be displayed on the sign in
19+
page and in the top left corner of the dashboard. The default is the Coder logo.
20+
21+
## Announcement Banners
22+
23+
![announcement banner](../../images/admin/setup/appearance/announcement_banner_settings.png)
24+
25+
Announcement Banners let admins post important messages to all site users. Only
26+
Site Owners may set the announcement banners.
27+
28+
Example: Use multiple announcement banners for concurrent deployment-wide
29+
updates, such as maintenance or new feature rollout.
30+
31+
![Multiple announcements](../../images/admin/setup/appearance/multiple-banners.PNG)
32+
33+
Example: Adhere to government network classification requirements and notify
34+
users of which network their Coder deployment is on.
35+
36+
![service banner secret](../../images/admin/setup/appearance/service-banner-secret.png)
37+
38+
## OIDC Login Button Customization
39+
40+
[Use environment variables to customize](../users/oidc-auth.md#oidc-login-customization)
41+
the text and icon on the OIDC button on the Sign In page.
42+
43+
## Support Links
44+
45+
Support links let admins adjust the user dropdown menu to include links
46+
referring to internal company resources. The menu section replaces the original
47+
menu positions: documentation, report a bug to GitHub, or join the Discord
48+
server.
49+
50+
![support links](../../images/admin/setup/appearance/support-links.png)
51+
52+
### Icons
53+
54+
The link icons are optional, and can be set to any url or
55+
[builtin icon](../templates/extending-templates/icons.md#bundled-icons),
56+
additionally `bug`, `chat`, and `docs` are available as three special icons.
57+
58+
### Configuration
59+
60+
#### Kubernetes
61+
62+
To configure support links in your Coder Kubernetes deployment, update your Helm
63+
chart values as follows:
64+
65+
```yaml
66+
coder:
67+
env:
68+
- name: CODER_SUPPORT_LINKS
69+
value: >
70+
[{"name": "Hello GitHub", "target": "https://github.com/coder/coder",
71+
"icon": "bug"},
72+
{"name": "Hello Slack", "target":
73+
"https://codercom.slack.com/archives/C014JH42DBJ", "icon":
74+
"/icon/slack.svg"},
75+
{"name": "Hello Discord", "target": "https://discord.gg/coder", "icon":
76+
"/icon/discord.svg"},
77+
{"name": "Hello Foobar", "target": "https://foo.com/bar", "icon":
78+
"/emojis/1f3e1.png"}]
79+
```
80+
81+
#### System package
82+
83+
if running as a system service, set an environment variable
84+
`CODER_SUPPORT_LINKS` in `/etc/coder.d/coder.env` as follows,
85+
86+
```env
87+
CODER_SUPPORT_LINKS='[{"name": "Hello GitHub", "target": "https://github.com/coder/coder", "icon": "bug"}, {"name": "Hello Slack", "target": "https://codercom.slack.com/archives/C014JH42DBJ", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/slack.svg"}, {"name": "Hello Discord", "target": "https://discord.gg/coder", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/discord.svg"}, {"name": "Hello Foobar", "target": "https://discord.gg/coder", "icon": "/emojis/1f3e1.png"}]'
88+
```
89+
90+
For CLI, use,
91+
92+
```shell
93+
export CODER_SUPPORT_LINKS='[{"name": "Hello GitHub", "target": "https://github.com/coder/coder", "icon": "bug"}, {"name": "Hello Slack", "target": "https://codercom.slack.com/archives/C014JH42DBJ", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/slack.svg"}, {"name": "Hello Discord", "target": "https://discord.gg/coder", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/discord.svg"}, {"name": "Hello Foobar", "target": "https://discord.gg/coder", "icon": "/emojis/1f3e1.png"}]'
94+
coder-server
95+
```

docs/admin/templates/extending-templates/icons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ come bundled with your Coder deployment.
4444
CODER_EXTERNAL_AUTH_1_ICON=/icon/google.svg
4545
```
4646
47-
- [**Support Links**](../admin/appearance.md#support-links):
47+
- [**Support Links**](../admin/setup/appearance.md#support-links):
4848
4949
- Use icons for support links to make them recognizable. You can set the
5050
`icon` field for each link in `CODER_SUPPORT_LINKS` array.

docs/admin/templates/extending-templates/web-ides.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ module "jupyter" {
196196
```
197197

198198
If you cannot enable a
199-
[wildcard subdomain](../../../admin/setup.md#wildcard-access-url), you can
200-
configure the template to run Jupyter on a path. There is however
199+
[wildcard subdomain](../../../admin/setup/README.md#wildcard-access-url), you
200+
can configure the template to run Jupyter on a path. There is however
201201
[security risk](../../../reference/cli/server#--dangerous-allow-path-app-sharing)
202202
running an app on a path and the template code is more complicated with coder
203203
value substitution to recreate the path structure.

docs/admin/templates/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ practices:
2121

2222
- Ensure the resource has `curl` installed (alternatively, `wget` or `busybox`)
2323
- Ensure the resource can `curl` your Coder
24-
[access URL](../../admin/setup.md#access-url)
24+
[access URL](../../admin/setup/README.md#access-url)
2525
- Manually connect to the resource and check the agent logs (e.g.,
2626
`kubectl exec`, `docker exec` or AWS console)
2727
- The Coder agent logs are typically stored in `/tmp/coder-agent.log`
@@ -31,7 +31,7 @@ practices:
3131
`/tmp/coder-shutdown-script.log`
3232
- This can also happen if the websockets are not being forwarded correctly when
3333
running Coder behind a reverse proxy.
34-
[Read our reverse-proxy docs](../../admin/setup.md#tls--reverse-proxy)
34+
[Read our reverse-proxy docs](../../admin/setup/README.md#tls--reverse-proxy)
3535

3636
## Startup script issues
3737

docs/admin/users/oidc-auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ CODER_OIDC_ICON_URL=https://gitea.io/images/gitea.png
119119
```
120120

121121
To change the icon and text above the OpenID Connect button, see application
122-
name and logo url in [appearance](./appearance.md) settings.
122+
name and logo url in [appearance](../setup/appearance.md) settings.
123123

124124
## Disable Built-in Authentication
125125

0 commit comments

Comments
 (0)