Docs: admin languages and texts, wording rule for agents, new screen names

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-27 15:46:25 +01:00
co-authored by Claude Opus 5.5
parent 6b46bc0c14
commit 0a2374db18
45 changed files with 443 additions and 360 deletions
+21 -21
View File
@@ -48,7 +48,7 @@ production): `payload.update({ …, context: { [SKIP_AUTO_FILL]: true } })` —
that save (1.12.2).
Under the description field in the SEO tab there is a hint (`MetaDescriptionCheck`, `/admin`):
the description is empty, the same as `siteDescription` from Site Settings, or the same as in
the description is empty, the same as `siteDescription` from Site settings, or the same as in
another document of the collection. It only informs — it does not block saving. Length is shown
by the plugin-seo counter.
@@ -58,14 +58,14 @@ are other fields there already (slug, roles), leaving an empty SEO tab.
## Titles — configured from the panel
No code, per site (Site Settings → General):
No code, per site (Site settings → General):
- **Title Order** — `Page first` (O nas | Acme) or `Site first` (Acme | O nas)
- **Title Separator** — `|` `–` `-` `·` `/`
Per page (SEO tab):
- **Title Override** — the typed text goes to the browser tab verbatim, ignoring both
- **Exact page title** — the typed text goes to the browser tab verbatim, ignoring both
settings above. Use it for the home page, where composition would give "Acme | Acme".
Default: `Title | Site name`.
@@ -117,7 +117,7 @@ injected cached loaders — everything below applies to it too.
## createPageMetadata (low level)
When you do not use `createContentHelpers` or the route has its own conventions. It knows
the plugin conventions (pages collection, SiteSettings, System Pages, meta group):
the plugin conventions (pages collection, SiteSettings, System pages, meta group):
```ts
// app/(frontend)/[locale]/[[...slug]]/page.tsx
@@ -144,7 +144,7 @@ resolveRoute }` option lets you pass your own cached functions (that is what `ge
Handles: title (order/separator/override from the panel), description, canonical,
hreflang for all locales, OG, home collapsed to `/pl` (home slug read from
System Pages).
System pages).
Without `NEXT_PUBLIC_SERVER_URL`, canonical and hreflang are relative (`/pl` instead of
`https://…/pl`).
@@ -309,7 +309,7 @@ What the sitemap contains:
- blog posts with the archive prefix (`/pl/artykuly/moj-post`)
Skips: drafts (`_status !== 'published'`) and documents with `meta.noindex`. When
**Site Settings → Under construction** is on — everything except the pages that
**Site settings → Maintenance** is on — everything except the pages that
stay open (home page + "Pages still available"), because the rest redirects to the
notice and a crawler would index that instead of the content. `llms.txt` does the same.
@@ -854,7 +854,7 @@ phrases), pages with parameters, search results. The plugin supports this throug
- internal search results
The editor ticks `noindex` in the panel (the page's SEO field), the plugin generates the tag.
Alternatively: add `noindex` to System Pages with legal roles automatically.
Alternatively: add `noindex` to System pages with legal roles automatically.
### buildNoindexField — a friendly checkbox in the sidebar
@@ -1088,8 +1088,8 @@ Requires a filled siteDescription and sensible page meta.description values
meta description.
Since 1.13:
- under the description goes the editor's note from **Site Settings → Search & AI → About the site for
AI assistants** (facts to quote, per language) — see the "Search & AI" section below;
- under the description goes the editor's note from **Site settings → Search engines → About the site for
AI assistants** (facts to quote, per language) — see the "Search engines" section below;
- the list is no longer cut at 1000 documents (read in batches; `collectSiteIndex({ limit })`
still trims it if you want);
- `llmsRoute` / `llmsFullRoute` from `createContentHelpers` show only the open pages when "Under construction"
@@ -1190,8 +1190,8 @@ buildRobots({
### AI bots from the panel — getRobots (1.13)
The editor sets the policy and exceptions in **Site Settings → Search & AI → AI crawlers**.
For robots.txt to read them, replace `robots` with `getRobots` (async, reads Site Settings
The editor sets the policy and exceptions in **Site settings → Search engines → AI assistants**.
For robots.txt to read them, replace `robots` with `getRobots` (async, reads Site settings
per request):
```ts
@@ -1248,9 +1248,9 @@ Two sitemaps under different paths confuse crawlers. Pick one:
Both are equally good for Google — it is about readability for humans, not SEO.
## Search & AI — Search Console verification, AI bots, llms.txt note (1.13)
## Search engines — Search Console verification, AI bots, llms.txt note (1.13)
The **Site Settings → Search & AI** tab (on by default; empty fields change
The **Site settings → Search engines** tab (on by default; empty fields change
nothing; `ipalKit({ searchSettings: false })` removes it — also without `seo` (`seo: { searchSettings }` still works; the top-level option wins); the function
`searchSettings: (fields) => fields` gets the plugin's fields and returns your own — add, remove,
relabel; the helpers read the names `searchVerification` / `aiCrawlers` / `llmsIntro`):
@@ -1397,15 +1397,15 @@ It complements Markdown/llms: the assistant extracts the page's key content more
- **`buildLocalBusinessJsonLd({ type: 'Dentist', openingHours: company.hours, … })`** — `type` is any
schema.org type; hours as the editor's text (PL/EN/DE: "Pn-Pt: 8-17, Sob: 9-13, Nd nieczynne") →
`formatOpeningHours` → `['Mo-Fr 08:00-17:00', 'Sa 09:00-13:00']`. Unreadable text is skipped.
- **Site Settings → sameAs** (company profiles) → `sameAsUrls(settings)` for Organization/LocalBusiness.
- **Site Settings → Default share image** works as the OG image of pages without their own (it used to be ignored).
- **Site settings → sameAs** (company profiles) → `sameAsUrls(settings)` for Organization/LocalBusiness.
- **Site settings → Default share image** works as the OG image of pages without their own (it used to be ignored).
Metadata has an X/Twitter card, image dimensions and alt, and entries get `og:type=article` with dates.
- **Sitemap with images** (`<image:image>`): by default the page's SEO image; your own source:
`createContentHelpers({ sitemapImages: (doc) => [...] })`.
- **IndexNow:** `ipalKit({ indexNow: true })` + the route `src/app/indexnow-key.txt/route.ts`
(`createIndexNowKeyRoute`). After a page/entry is published, its addresses in all languages go to Bing &
co. (ChatGPT Search and Copilot use Bing's index). Production with public https only.
Key: Site Integrations → IndexNow (generated on save) or `INDEXNOW_KEY`. Google does not
Key: Site integrations → IndexNow (generated on save) or `INDEXNOW_KEY`. Google does not
support IndexNow — for Google, use the sitemap.
Key route from `lib/content`: `export { indexNowKeyRoute as GET } from '@/lib/content'`.
By hand (e.g. content imported by a script): `submitToIndexNow({ payload, urls })` (key: `getIndexNowKey(payload)`)
@@ -1425,17 +1425,17 @@ It complements Markdown/llms: the assistant extracts the page's key content more
## Turn off, override, extend
- **Turn off the module:** leave out `seo` in `ipalKit()` — no SEO tab and no auto-fill. The Site Settings →
Search & AI tab stays (remove it with the top-level `searchSettings: false`). The front helpers (`buildMetadata`, `buildRobots`, the JSON-LD builders) are plain functions and work without it.
- **Turn off the module:** leave out `seo` in `ipalKit()` — no SEO tab and no auto-fill. The Site settings →
Search engines tab stays (remove it with the top-level `searchSettings: false`). The front helpers (`buildMetadata`, `buildRobots`, the JSON-LD builders) are plain functions and work without it.
- **Auto-fill:** `autoFill: false` turns it off; `autoFill: { title, description, content, descriptionLength }`
remaps the source fields. Skip it for one save with `context: { [SKIP_AUTO_FILL]: true }`.
- **Description hint:** `descriptionCheck: false` removes it; `descriptionCheck: { settingsSlug, siteDescriptionField }`
points it at another global/field.
- **Titles and descriptions:** `generateTitle` / `generateDescription` replace plugin-seo's generators;
`fields` adds your own fields to the SEO group. Per page, **Title Override** beats the composed title.
- **Search & AI tab:** `ipalKit({ searchSettings: false })` removes it (with or without `seo`); `searchSettings: (fields) => fields` adds, removes or
`fields` adds your own fields to the SEO group. Per page, **Exact page title** beats the composed title.
- **Search engines tab:** `ipalKit({ searchSettings: false })` removes it (with or without `seo`); `searchSettings: (fields) => fields` adds, removes or
relabels fields (keep `searchVerification` / `aiCrawlers` / `llmsIntro`, or read your own fields in your routes).
- **The Site Settings global itself** (where the SEO fields live): `ipalKit({ globalOverrides: { 'site-settings': … } })`
- **The Site settings global itself** (where the SEO fields live): `ipalKit({ globalOverrides: { 'site-settings': … } })`
— an object is merged over the plugin's global (`access`, `admin` and `hooks` key by key: your access rules win,
your hooks run after the plugin's; other keys such as `fields` replace the plugin's); a function
`(global) => global` gives full control (drop a plugin hook, append fields). The same works for