Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export default defineConfig({
logo: { src: './src/assets/owmark.svg', alt: 'OnlyWorlds' },
favicon: '/assets/images/favicon.ico',
customCss: ['./src/styles/ow.css'],
// The footer gains one line that names llms.txt, so a page read alone points at the site's index.
components: { Footer: './src/components/Footer.astro' },
expressiveCode: { plugins: [pluginRun()] },
head: [
{ tag: 'link', attrs: { rel: 'preconnect', href: 'https://fonts.googleapis.com' } },
Expand Down
21 changes: 21 additions & 0 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
// The default footer, then one line for an AI agent that landed on this page alone. No page named
// the site's index: an agent reading one page as text had no way to learn that llms.txt exists.
import Default from '@astrojs/starlight/components/Footer.astro';
---

<Default><slot /></Default>
<p class="ow-agent-line">
AI agents: start from <a href="/llms.txt">llms.txt</a>, this site's index, which links the whole documentation as plain text.
</p>

<style>
.ow-agent-line {
margin-top: 1.5rem;
font-size: var(--sl-text-xs);
color: var(--sl-color-gray-3);
}
.ow-agent-line a {
color: var(--ow-link);
}
</style>
1 change: 1 addition & 0 deletions src/content/docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ What changed on onlyworlds.com for everyone is on its own [Changelog](https://ww

## 2026-11-23

- **Every page names [llms.txt](https://onlyworlds.github.io/llms.txt) in its footer.** Until now no page pointed at the site's index for AI agents, so an agent that read one page as text could not learn it exists. Each page's Markdown copy stays where it was, in the page's menu.
- **[TypeScript](/docs/development/typescript#deprecated-names): every deprecated name in one table.** The reference now lists each name the package's declarations mark as deprecated, 21 in 4.194.0, with the version it leaves in and the mark's own comment (what to use in its place, where there is one). The table is read from the pinned package at every build, so it follows each release, and the build stops on a mark it cannot put a name to.
- **[Stability and deprecation](/docs/development/api/stability#the-standard-the-packages-and-this-site): how a change to the standard reaches the API.** A motion that drops or renames a field falls under the same rule as any removal: the API keeps answering the old field until its removal has been announced six months ahead. A field a motion adds arrives without notice.
- **[The export file](/docs/development/api/changes#the-export-file): two sentences corrected against a downloaded file.** Its element bodies are the API's less `doors` and `hidden`, where the page said they were exactly what the API returns; and its `world` carries every key `GET /api/v2/world` serves but `counts`.
Expand Down
Loading