You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5e290b5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AGENTS.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,20 @@ If a PR changes generated output without changing the inputs that produce it, ca
50
50
- A large part of the site is Markdown-driven. Review content pipeline changes for frontmatter assumptions, slug handling, excerpt/title sanitization, and image resolution.
51
51
- This repo uses Yarn as the expected package manager. Flag changes that introduce package-manager drift or inconsistent lockfile/package-manager usage unless the migration is intentional.
52
52
53
+
### URL conventions (see #207)
54
+
55
+
- Canonical URLs have **no trailing slash**: `/some-page`. `next.config.ts` sets
56
+
`trailingSlash: false`, so the export writes `out/some-page.html` and GitHub
57
+
Pages serves it directly for `/some-page`.
58
+
- Write internal links, canonical URLs, sitemap entries and RSS `<link>`s in
59
+
that form. Two deliberate exceptions: `/cups/` (separate CUPS Pages site) and
60
+
RSS `<guid>`s, which keep their historical trailing slash because they are
61
+
item identities -- changing them makes feed readers re-announce old articles.
redirect stubs after the export so old inbound links ending in `/` keep
64
+
working.
65
+
-`yarn verify:urls` checks these invariants and gates both CI and deployment.
66
+
53
67
## Configuration & Portability
54
68
55
69
-**Single Source of Truth**: All deployment-specific values, such as GitHub organization / repository names, base paths, and external URLs (e.g., Giscus configs, CI pipelines), are centralized in `config/site.config.ts`.
? `Support information, recommended driver, and ${driverCount} available driver${driverCount===1 ? "" : "s"} for the ${name} on Linux and Unix via OpenPrinting.`
56
56
: `Printer support information for ${id} from the OpenPrinting database.`
0 commit comments