Repository navigation
docs(site): describe the website, its commands and its checks (#224) - #253
Merged
juancguerrerodev merged 13 commits intoDec 6, 2026
Merged
Conversation
10 of 16 tasks
Contributor
|
Ready to merge once the pull request template is filled in, including the "I read and ran everything" box (details on #234). 🦀 |
juancguerrerodev
force-pushed
the
test/site-readme-224
branch
from
December 6, 2026 07:57
b8d49da to
6f4cd9d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #224
The website in
apps/sitehad no README, so fixing a typo on joinhermit.com meant readingpackage.json,next.config.mjsand three scripts first. This addsapps/site/README.md, short and in plain English, in the style ofapps/relay/README.md. It covers what the site is (a static export with no server functions, cookies, analytics orthird-party scripts, and why
scripts/finalize.mjsremoves every script but the two hashed theme scripts the contentsecurity policy allows), the four commands from the repository root and what each does, how to look at the built site
with a plain static file server, where the words live and their rules, the brand files under the logo lock, and where
the download page gets its release.
Tried before writing, on this Windows machine
pnpm --filter @hermit/site builddoes not run as-is here: the script setsNEXT_TELEMETRY_DISABLED=1the POSIX way, which cmd refuses. Its steps run by hand do work:copy-brand.mjscopied 37 files,
next buildexported the site, andfinalize.mjsstripped 10 pages.pnpm --filter @hermit/site checkthen fails here for Windows-only reasons, all pre-existing: its path patternsassume forward slashes while this checkout reports backslash paths (payload
.txtfiles reported left inout/,the 404 pages checked as public pages), and the badge files differ under this checkout's line endings. The README
says the commands are written for macOS and Linux today. No code changed here, as agreed in the issue.
apps/site/outwithpython3 -m http.server 8000 --directory apps/site/out(the way the README suggests)answered 200 for
/,/en/,/es/, both download pages,/en/privacy/and a brand file.pnpm --filter @hermit/site testpasses except the same pre-existing badge hash intest/badges.test.ts, andtypecheckpasses.that exists.
How to check
pnpm install pnpm --filter @hermit/site build pnpm --filter @hermit/site check pnpm --filter @hermit/site test pnpm --filter @hermit/site typecheck python3 -m http.server 8000 --directory apps/site/outNo dev server added and no new dependency.
Pull request template
What and why
Closes #224.
Writes the website README the issue asked for, in the relay README's style.
Vision fit
Principle 5, Spanish and English first-class: the bilingual site gets the same contributor on-ramp the relay already had.
Non-negotiables
Checklist
acceptedproposal.pnpm check:privacy,pnpm typecheck,pnpm lint,pnpm testandnode scripts/guard/check.mjs --patterns scripts/guard/patterns.txt. Gate note: privacy and guard pass on this checkout today; the rest was run per package as listed under AI agents, not as one root gate on this Windows machine, where unrelated pre-existing failures appear in the site badges, the devices table and mobile source scans.packages/copy, in es-419 and en, with matching keys and placeholders, and no em or en dashes.Model path
packages/model,agent,skillsoreval, the prompt, the router, tool descriptions, normalizers, examples or the model file.Screenshots
New dependencies and network calls
None. No new dependency and no new network call.
AI agents
What was run: The build steps by hand on Windows (copy-brand, next build, finalize all pass; the combined build script's POSIX env prefix fails in cmd); a python3 static server answered 200 for /, /en/, /es/, both download pages and /en/privacy/; site test (69 pass, 1 pre-existing badge-hash failure in this checkout); site typecheck.