Developing the Help site
This repository ships the public Help center (Astro + Starlight) and an Antora component aggregated at FTN Docs.
Local workflow
pnpm install
pnpm dev
pnpm build
pnpm preview
-
pnpm dev— Astro dev server (Starlight at/docs) -
pnpm build— production build todist/ -
pnpm preview— serve the production build locally
Repository layout
| Path | Purpose |
|---|---|
|
Astro pages, Starlight content, and assets |
|
Static files copied to the site root |
|
Antora component ( |
|
CI (encoding guard, Dependabot config) |
Public URLs:
-
Landing:
https://help.foodtrucknerdz.com -
Starlight docs:
https://help.foodtrucknerdz.com/docs
Allow-list .gitignore
This repo uses an allow-list .gitignore aligned with FoodTruckNerdz agent rules:
-
*ignores everything at the repository root. -
!*/allows Git to descend into directories so nested rules can apply. -
Explicit
!/pathentries whitelist tracked files and directories. -
Patterns such as
node_modules/,dist/, and.envre-ignore generated or local files inside allowed trees.
When you add a new tracked file or directory at the repository root, add a matching ! line in .gitignore before committing. Without it, git status may not show the new path and git add can fail silently for ignored files.
Example — tracking a new root config file:
!/my-new-config.json5
Example — tracking a new top-level directory:
!/scripts/**
See changelog for when this policy was adopted.
Text encoding CI
The encoding guard workflow blocks mojibake in tracked text files. Intentional exceptions use mojibake-guard: allow on the line or entries in .encoding-allow (see dev-centr/agent-rules encoding guard docs).