AnvilWiki template update log (v2.39.0): the official site homepage becomes a tutorials-first face — you land on a pick-a-direction entry into the build-and-earn tutorials; plus the flagship tutorial line (/landing/tutorials + Chinese twin) — hands-on guides anchored on what you want to do (build a game codes site, run a SaaS coupon hub, put up a tutorial knowledge base, get indexed, monetize), each ending with the matching template preset CTA, the WeChat group entry and a same-topic next read; the setup CLI now also asks for your site type (game wiki default / coupon hub / tutorial hub) and scaffolds the matching shape. Check-versions gating and audit-rebuild fixes from this cycle are all logged. 26 test suites. Forks: merge upstream and pnpm install as usual. This bar tracks template releases — details & full changelog on GitHub Releases.
AnvilWiki
Powered by Pagefind
中文

Development Manual

For customizers and contributors: the change map, categories & locales, theme & homepage copy, feature switches, CI & security, syncing upstream or contributing back, and running ops through AI (GSC API setup, anvilwiki-ops CLI + MCP).

9 lessons

  1. 1 Read the Map First: What to Change, What to Leave Alone Three layers — code (rarely touched), config (once per game), content (daily). A 30-second decision tree for any change, plus six Astro gotchas (5→7 re-verified).
  2. 2 Add Categories and Add Languages Step-by-step recipes for adding a navigation category (three-place consistency) and adding a language (scaffold plus translation prompts). A lookup manual.
  3. 3 The Feature-Toggle Table: Ads, Comments, Analytics All optional features share one toggle mechanism — empty variable = nothing rendered. The full variable table, where they go, and the advanced wrangler.toml route.
  4. 4 Verify Your Changes: The Checklist and the Gates The post-change, pre-commit checklist: seven local commands, the eight CI gates, the six pipelines, and the safety and performance baselines.
  5. 5 Sync Upstream: Bringing Official Updates In Three commands to merge official updates, the conflict mantra, and the semver promises that decide whether you upgrade.
  6. 6 Contribute Back: Returning the Good Parts Five steps to contribute to AnvilWiki (issue first, branch, self-verify, PR, tests and docs), plus PR-ing your own site onto the official showcase wall.
  7. 7 Run Ops with AI: GSC setup, metrics & MCP GSC API setup in five minutes (Google Group relay), CF token into .env, then doctor, metrics and evidence-ranked insights — with MCP, every write lands as a PR.
  8. 8 The Content Pipeline: Keyword CSV to Draft PR Paste a keyword CSV into Actions; the pipeline builds drafts, runs all eight gates, and opens a draft PR only on all-green. No AI keys in CI; a human merges.
  9. 9 Multi-Site Management: One Toolkit, N Sites From site two: register in sites.toml (credentials never enter), inspect with one command via --all and --site; submit refuses --all. AI referrals read as trends.
Advertisement