fix: update all internal doc links to new nested URL structure

/docs/introduction/ → /docs/getting-started/introduction/
/docs/tokens/ → /docs/core/tokens/
/docs/semantic-html/ → /docs/core/semantic-html/
/docs/reset/ → /docs/core/reset/
/docs/data-attributes/ → /docs/core/data-attributes/
/docs/layouts/ → /docs/components/layouts/

Zero 404s in docs after clean build.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ludo 2026-04-11 18:50:08 +02:00
parent 21524b4b25
commit 414ede2957
Signed by: ludo
GPG key ID: F6E479DEFAB84D6E
9 changed files with 25 additions and 25 deletions

View file

@ -168,8 +168,8 @@ Three-column sidebar scaffold. Source order matters: left aside → article →
<nav aria-label="Documentation" data-nav="sidebar">
<small>Section</small>
<ul>
<li><a href="/docs/introduction/" aria-current="page">Introduction</a></li>
<li><a href="/docs/tokens/">Token System</a></li>
<li><a href="/docs/getting-started/introduction/" aria-current="page">Introduction</a></li>
<li><a href="/docs/core/tokens/">Token System</a></li>
</ul>
</nav>
</aside>
@ -205,7 +205,7 @@ Three-column sidebar scaffold. Source order matters: left aside → article →
## CTA links
```html
<a href="/docs/introduction/" data-role="primary">Get started →</a>
<a href="/docs/getting-started/introduction/" data-role="primary">Get started →</a>
<a href="/docs/" data-role="secondary">Documentation</a>
```

View file

@ -25,8 +25,8 @@ Three-column scaffold: sidebar, content, TOC. Source order: left `<aside>` → c
<nav data-nav="sidebar" aria-label="Docs">
<small>Getting started</small>
<ul>
<li><a href="/docs/introduction/" aria-current="page">Introduction</a></li>
<li><a href="/docs/tokens/">Token System</a></li>
<li><a href="/docs/getting-started/introduction/" aria-current="page">Introduction</a></li>
<li><a href="/docs/core/tokens/">Token System</a></li>
</ul>
</nav>
</aside>
@ -75,7 +75,7 @@ CTA button row, centered, wraps on small screens.
```html
<nav data-layout="actions">
<a href="/docs/introduction/" data-role="primary">Get started →</a>
<a href="/docs/getting-started/introduction/" data-role="primary">Get started →</a>
<a href="https://github.com/..." data-role="secondary">GitHub</a>
</nav>
```
@ -243,5 +243,5 @@ Renders a `<dl>` as a two-column grid: terms on the left, definitions on the rig
## Related
- [Data Attributes](/docs/data-attributes/) — full `data-*` vocabulary reference
- [Token System](/docs/tokens/) — the custom property values that layout tokens reference
- [Data Attributes](/docs/core/data-attributes/) — full `data-*` vocabulary reference
- [Token System](/docs/core/tokens/) — the custom property values that layout tokens reference

View file

@ -100,6 +100,6 @@ Add `data-layout="vertical"` for a top-down flow — useful in sidebars or narro
## Related
- [Data Attributes](/docs/data-attributes/) — `data-role`, `data-status`, and the full attribute vocabulary
- [Layouts](/docs/layouts/) — `data-layout` values including `vertical`
- [Data Attributes](/docs/core/data-attributes/) — `data-role`, `data-status`, and the full attribute vocabulary
- [Layouts](/docs/components/layouts/) — `data-layout` values including `vertical`
- [Components](/docs/components/) — callouts, tasks, and other component patterns