Skip to content

Commit 2b2819e

Browse files
strickvlclaude
andcommitted
docs: remove niche customization sections from FAQ and install guide
Remove login page customization sections from FAQ.md and install.md as they were too specific for those documents. Move customization reference to guide.md where it's more appropriate. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent cacf3cc commit 2b2819e

File tree

4 files changed

+4
-44
lines changed

4 files changed

+4
-44
lines changed

docs/FAQ.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,22 +81,6 @@ You can change the config file's location using the `--config` flag or
8181

8282
The default location respects `$XDG_CONFIG_HOME`.
8383

84-
### Login page customization
85-
86-
You can customize the login page using the `--custom-strings` flag:
87-
88-
```bash
89-
code-server --custom-strings '{"LOGIN_TITLE": "My Code Server", "WELCOME": "Welcome to my portal"}'
90-
```
91-
92-
Or use a JSON file:
93-
```bash
94-
code-server --custom-strings /path/to/custom-strings.json
95-
```
96-
97-
Legacy individual flags (`--app-name`, `--welcome-text`) are still supported but deprecated.
98-
99-
For detailed customization options and examples, see the [customization guide](./customization.md).
10084

10185
## How do I make my keyboard shortcuts work?
10286

docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ code-server.
6161
We also have an in-depth [setup and
6262
configuration](https://coder.com/docs/code-server/latest/guide) guide.
6363

64-
You can also customize the login page appearance - see our [customization guide](./customization.md).
6564

6665
## Questions?
6766

docs/guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,3 +458,7 @@ By default, if you have auth enabled, code-server will authenticate all proxied
458458
requests including preflight requests. This can cause issues because preflight
459459
requests do not typically include credentials. To allow all preflight requests
460460
through the proxy without authentication, use `--skip-auth-preflight`.
461+
462+
## Internationalization and customization
463+
464+
You can customize some of code-server's strings for either internationalization or customization purposes. See our [customization guide](./customization.md).

docs/install.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -287,33 +287,6 @@ docker run -it --name code-server -p 127.0.0.1:8080:8080 \
287287
codercom/code-server:latest
288288
```
289289

290-
### Customizing the login page
291-
292-
You can customize the login page using the `--custom-strings` flag:
293-
294-
```bash
295-
# Example with inline JSON customization
296-
docker run -it --name code-server -p 127.0.0.1:8080:8080 \
297-
-v "$PWD:/home/coder/project" \
298-
codercom/code-server:latest --custom-strings '{
299-
"LOGIN_TITLE": "My Development Environment",
300-
"WELCOME": "Welcome to your coding workspace",
301-
"PASSWORD_PLACEHOLDER": "Enter your secure password",
302-
"SUBMIT": "ACCESS"
303-
}'
304-
```
305-
306-
Or mount a JSON file:
307-
308-
```bash
309-
# Example with JSON file
310-
docker run -it --name code-server -p 127.0.0.1:8080:8080 \
311-
-v "$PWD:/home/coder/project" \
312-
-v "$PWD/custom-strings.json:/config/strings.json" \
313-
codercom/code-server:latest --custom-strings /config/strings.json
314-
```
315-
316-
For detailed customization options, see the [customization guide](./customization.md).
317290

318291
Our official image supports `amd64` and `arm64`. For `arm32` support, you can
319292
use a [community-maintained code-server

0 commit comments

Comments
 (0)