From 888f63537a0a25a3536ac4810bd4205776beb247 Mon Sep 17 00:00:00 2001 From: Workshop Bot Date: Tue, 9 Jun 2026 17:25:59 +0000 Subject: [PATCH] docs: make AGENTS.md preview commands OS-agnostic --- AGENTS.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index e2008fd..98bb39a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -38,13 +38,16 @@ git checkout -b describe-your-change # e.g. update-opening-hours ``` ### 2. Preview locally before shipping -From the repo root, start a local server and open it in a browser: +From the repo root, start a local static server and open http://localhost:8000 in a +browser. Use whichever fits your OS: ```bash -python3 -m http.server 8000 -# then open http://localhost:8000 +python3 -m http.server 8000 # macOS / Linux +py -m http.server 8000 # Windows +npx serve # any OS with Node.js ``` -(No Python? `npx serve` or any static file server works — just serve the repo root.) +(Any static file server works — just serve the repo root so absolute paths like +`/css/style.css` resolve.) Visually check every page you touched. **Do not ship a change you have not previewed.**