docs: fix broken anchors, extra H1s and an unclosed code span (#8149)

* docs: fix three broken anchors and an unclosed code span

The guide linked Let's Encrypt to #let-encrypt, the install page linked
Termux to #installation and the iPad page linked its ctrl+c workaround to
#ctrl-c-workaround; none of those headings exist, so each link landed at
the top of the page. Point them at the headings they mean. The Svelte
proxy step in the guide also opened a code span it never closed, which
rendered the rest of the line as code.

Assisted-by: AI

* docs: give each page a single top-level heading

The Android page had one H1 per install method, the Helm page made Extra
Containers an H1 beside its configuration sections, and the code of
conduct repeated its title below the doctoc title. A second H1 reads as a
second page title to screen readers and search engines, and a docs site
that uses the first H1 as the page title leaves the others as stray
titles in the body.

Android now has an Android title with one section per method, and its
manifest description names both methods. Extra Containers is a section of
the Helm page. The code of conduct keeps the doctoc title, as the other
doctoc pages do, and its table of contents loses the nesting under the
removed heading.

Assisted-by: AI

* docs: restore the search descriptions of four key pages

coder.com's previous code-server docs renderer carried hand-written
search descriptions for the home, install, setup guide and FAQ pages.
The new renderer reads a page's description from its front matter and
falls back to the shorter manifest description, so those four would
otherwise lose them. Add them as front matter, as they were published
(with "a iPad" corrected). Prettier and doctoc both leave the front
matter in place.

Assisted-by: AI
This commit is contained in:
Nick Vigilante authored and GitHub committed 2026-11-30 16:52:49 -05:00
1 parent c094099c15
commit 15047abf27
9 files changed
+32 -17

No files matched your search

+6 -9
View File
@@ -3,19 +3,16 @@
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
# Contributor Covenant Code of Conduct
- [Contributor Covenant Code of Conduct](#contributor-covenant-code-of-conduct)
- [Our Pledge](#our-pledge)
- [Our Standards](#our-standards)
- [Our Responsibilities](#our-responsibilities)
- [Scope](#scope)
- [Enforcement](#enforcement)
- [Attribution](#attribution)
- [Our Pledge](#our-pledge)
- [Our Standards](#our-standards)
- [Our Responsibilities](#our-responsibilities)
- [Scope](#scope)
- [Enforcement](#enforcement)
- [Attribution](#attribution)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
+4
View File
@@ -1,3 +1,7 @@
---
description: "Answers to all your FAQs: Learn how to expose code-server, use it on an iPad, install extensions, debug issues and more."
---
<!-- prettier-ignore-start -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
+4
View File
@@ -1,3 +1,7 @@
---
description: "Learn how to install and run code-server using VS Code. Start here and access all documentation for code-server today!"
---
# code-server
[!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/coder/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://coder.com/community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![Discord](https://img.shields.io/discord/747933592273027093)](https://discord.com/invite/coder) [![See latest](https://img.shields.io/static/v1?label=Docs&message=see%20latest&color=blue)](https://coder.com/docs/code-server/latest)
+4 -2
View File
@@ -1,4 +1,6 @@
# Running code-server using UserLAnd
# Running code-server on Android
## Using UserLAnd
1. Install UserLAnd from [Google Play](https://play.google.com/store/apps/details?id=tech.ula&hl=en_US&gl=US)
2. Install an Ubuntu VM
@@ -22,7 +24,7 @@ nvm use 24
9. Run code-server with `code-server`
10. Access on localhost:8080 in your browser
# Running code-server using Nix-on-Droid
## Using Nix-on-Droid
1. Install Nix-on-Droid from [F-Droid](https://f-droid.org/packages/com.termux.nix/)
2. Start app
+6 -2
View File
@@ -1,3 +1,7 @@
---
description: "A comprehensive guide for developers to securely access and expose code-server. Learn about SSH port forwarding, Let's Encrypt, HTTPS and more."
---
<!-- prettier-ignore-start -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
@@ -64,7 +68,7 @@ doesn't require any additional setup at all.
The downside to SSH forwarding, however, is that you can't access code-server
when using machines without SSH clients (such as iPads). If this applies to you,
we recommend using another method, such as [Let's Encrypt](#let-encrypt) instead.
we recommend using another method, such as [Let's Encrypt](#using-lets-encrypt-with-caddy) instead.
> To work properly, your environment should have WebSockets enabled, which
> code-server uses to communicate between the browser and server.
@@ -460,7 +464,7 @@ const config = {
}
```
3. Access app at `<code-server-root>/absproxy/5173/` e.g. `http://localhost:8080/absproxy/5173/
3. Access app at `<code-server-root>/absproxy/5173/` e.g. `http://localhost:8080/absproxy/5173/`
For additional context, see [this Github Issue](https://github.com/sveltejs/kit/issues/2958)
+1 -1
View File
@@ -124,7 +124,7 @@ $ helm upgrade --install code-server ci/helm-chart -f values.yaml
> **Tip**: You can use the default [values.yaml](../ci/helm-chart/values.yaml)
# Extra Containers
## Extra Containers
There are two parameters which allow to add more containers to pod.
Use `extraContainers` to add regular containers
+5 -1
View File
@@ -1,3 +1,7 @@
---
description: "Easily install code-server on any platform with our straightforward instructions, offering multiple methods for different OS and distributions."
---
<!-- prettier-ignore-start -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
@@ -304,7 +308,7 @@ If you see an error related to `node-gyp` during installation, See [#5174](https
## Termux
Please see code-server's [Termux docs](./termux.md#installation) for more
Please see code-server's [Termux docs](./termux.md#install) for more
information.
## Uninstall
+1 -1
View File
@@ -122,7 +122,7 @@ and tricks helpful:
- `ctrl+c` does not stop a long-running process in the browser
- Tracking upstream issue here:
[#114009](https://github.com/microsoft/vscode/issues/114009)
- See [workaround](#ctrl-c-workaround)
- See [workaround](#workaround-for-issue-with-ctrlc-not-stopping-a-running-process-in-the-terminal)
Additionally, see [issues in the code-server repo that are tagged with the `os-ios`
label](https://github.com/coder/code-server/issues?q=is%3Aopen+is%3Aissue+label%3Aos-ios)
+1 -1
View File
@@ -59,7 +59,7 @@
},
{
"title": "Android",
"description": "How to run code-server on an Android device using UserLAnd.",
"description": "How to run code-server on an Android device using UserLAnd or Nix-on-Droid.",
"path": "./android.md"
}
]