* 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
* feat: expose --reconnection-grace-time CLI flag
Pass through VS Code Server's --reconnection-grace-time argument,
allowing users to configure how long the server waits for a
disconnected client to reconnect before cleaning up the session.
This is useful for users whose client machines sleep overnight, causing
the default 3-hour grace period to expire and forcing a "Reload Window"
on wake. The flag can also be set via CODE_SERVER_RECONNECTION_GRACE_TIME
env var or in config.yaml.
- Move differences to the Codespaces section since they apply to both
Codespaces and OpenVSCode-Server
- Add some important missing differences
- Exclude settings sync (not being worked on)
- Exclude the plugin API (deprecated)
- Exclude certificate support (browsers these days are starting to
require trusted certs so better not to recommend using this)
* docs: add difference between Coder
Add a short block explaining the difference between code-server and
Coder.
* docs: add new doc coder.md under Install
This adds a new doc explaining how to install code-server in a Coder
workspace using Terraform.
* feat: add getting-started patch
This modifies the text on the Getting Started page to promote
coder/coder.
* feat: add --disable-getting-started-override
This adds a new CLI flag to code-server called
`--disable-getting-started` which will be used in Code to not use
Coder's custom Getting Started text.
* refactor: conditionally show coder getting started
This modifies the getting started patch changes to work with the new
`--disable-getting-started-override`.
The flag is false by default meaning the Coder getting started is shown.
By passing the flag to code-server, it will not be shown.
* docs: update faq for getting started override
* docs: update getting-started patch description
* fixup!: update patch
* fixup!: unit test
* feat: add more tests
* fixup!: use correct env var in tests
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* docs: add toc to CODE OF CONDUCT
* chore: add prettier ignore blocks to docs
* chore: update styles for Dockerfile
* refactor: separate prettier, doctoc
This does a couple things:
- update `.prettierignore`
- split `prettier` and `doctoc` commands. you can still run with `yarn
fmt`
- delete `fmt.sh` and add `doctoc.sh`
By doing so, we can run tasks in parallel in CI and we should also have
less false positives than before with `yarn fmt` locally.
* refactor: update prettier job, add doctoc
This modifies the prettier job to use actionsx/prettier. It also adds a
job for `doctoc`.
* chore: upgrade to prettier 2.7.1
* chore: pin doctoc to 2.0.0
* fixup!: add .pc to prettierignore
* feat: add --cache to prettier cmd
* Update links in package.json
I will try checking the docs too
* docs: Update links in triage.md
* docs: Update links in npm.md
* docs: Update links in whatever files that have `cdr`
* Replace globally, thanks @bpmct!
* fix: coderer instead of coder
I should've used all three toggles in the Search/Replace tab in the GItHub.dev editor.
* Code Formatting
* docs: update FAQ with extension gallery info (#2672)
* Update app to reflect Open VSX switch.
- Remove extension related github configs.
- Update tests to reflect new upstream behavior.
Co-authored-by: Akash Satheesan <akash@coder.com>
There was some confusion with the "and" since it can be interpreted that
you can only try logging in twelve times per hour in total but actually
you get two attempts per minute and then twelve per hour on top of that.
There was a case with the hashed-password which had multiple equal signs in the
value and it wasn't being parsed correctly. This uses a new function and adds a
few tests.
- Most people leave the logs out so add a section for them in the issue
template.
- Remove the VS Code logs because those get sent to stdout now and will
show up in our logs.
- Separate browser console and network.