chore: strip the comments this branch added

Removes every comment introduced on this branch: website/ in full, pages.yml
in full, and only the blocks added to ci.yml and release.yml — their
pre-existing comments are untouched.

Two directives survive because they are load-bearing rather than prose: the
triple-slash vite/client reference, and nothing else.

Two comments were carrying behaviour that the code did not state, so the
code now states it. useCopy's rejection handler clears the copied flag
instead of sitting empty, and writeTheme returns whether the write actually
landed instead of swallowing the failure in a bare catch. isExternal drops
its regex for two startsWith calls, which reads the same and no longer
hides a `//` inside a literal.
This commit is contained in:
Michel de Graaf
2026-07-25 01:29:55 +02:00
parent ba92e75fd3
commit c2dd227cee
45 changed files with 20 additions and 518 deletions
-6
View File
@@ -5,12 +5,6 @@ import { StaticRouter } from 'react-router'
import { App } from '@/App'
import { ThemeProvider } from '@/theme/theme-provider'
/**
* Renders one route to a static HTML string.
*
* `location` is the app-relative path (no base prefix) — the client mounts
* with `basename`, so the two see the same paths and hydration matches.
*/
export const render = (location: string): string =>
renderToString(
<StrictMode>