Skip to content

Commit c7154fc

Browse files
committed
make fmt
1 parent c69da03 commit c7154fc

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

docs/admin/appearance.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,34 +50,45 @@ server.
5050

5151
### Icons
5252

53-
The link icons are optional, and can be set to any url or bultin icon, additionally `bug`, `chat`, and `docs` are availble as three special icons.
53+
The link icons are optional, and can be set to any url or builtin icon,
54+
additionally `bug`, `chat`, and `docs` are available as three special icons.
5455

5556
### Configuration
5657

5758
<div class=tab>
5859

5960
#### Kubernetes
6061

61-
To configure support links in your Coder Kubernetes
62-
deployment, update your Helm chart values as follows:
62+
To configure support links in your Coder Kubernetes deployment, update your Helm
63+
chart values as follows:
6364

6465
```yaml
6566
coder:
6667
env:
67-
- name: CODER_SUPPORT_LINKS
68-
value: >
69-
[{"name": "Hello GitHub", "target": "https://github.com/coder/coder", "icon": "bug"},
70-
{"name": "Hello Slack", "target": "https://codercom.slack.com/archives/C014JH42DBJ", "icon": "/icon/slack.svg"},
71-
{"name": "Hello Discord", "target": "https://discord.gg/coder", "icon": "/icon/discord.svg"},
72-
{"name": "Hello Foobar", "target": "https://foo.com/bar", "icon": "/emojis/1f3e1.png"}]
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"}]
7379
```
7480
7581
#### System package
76-
if running as a sytem servive, set an envrionment variable `CODER_SUPPORT_LINKS` in `/etc/coder.d/coder.env` as follows,
82+
83+
if running as a system service, set an environment variable `CODER_SUPPORT_LINKS`
84+
in `/etc/coder.d/coder.env` as follows,
85+
7786
```env
7887
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"}]'
7988
```
80-
For CLI, use.
89+
90+
For CLI, use,
91+
8192
```shell
8293
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"}]'
8394
coder-server

0 commit comments

Comments
 (0)