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:
parent
21524b4b25
commit
414ede2957
9 changed files with 25 additions and 25 deletions
|
|
@ -8,4 +8,4 @@ tags: ["reference", "documentation"]
|
||||||
|
|
||||||
ASW is a single-file CSS framework for agent-generated web content. Semantic HTML is the only API. No classes, no build step, no JavaScript required.
|
ASW is a single-file CSS framework for agent-generated web content. Semantic HTML is the only API. No classes, no build step, no JavaScript required.
|
||||||
|
|
||||||
Browse the sections in the sidebar, or start with [Introduction](/docs/introduction/).
|
Browse the sections in the sidebar, or start with [Introduction](/docs/getting-started/introduction/).
|
||||||
|
|
|
||||||
|
|
@ -168,8 +168,8 @@ Three-column sidebar scaffold. Source order matters: left aside → article →
|
||||||
<nav aria-label="Documentation" data-nav="sidebar">
|
<nav aria-label="Documentation" data-nav="sidebar">
|
||||||
<small>Section</small>
|
<small>Section</small>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/docs/introduction/" aria-current="page">Introduction</a></li>
|
<li><a href="/docs/getting-started/introduction/" aria-current="page">Introduction</a></li>
|
||||||
<li><a href="/docs/tokens/">Token System</a></li>
|
<li><a href="/docs/core/tokens/">Token System</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
@ -205,7 +205,7 @@ Three-column sidebar scaffold. Source order matters: left aside → article →
|
||||||
## CTA links
|
## CTA links
|
||||||
|
|
||||||
```html
|
```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>
|
<a href="/docs/" data-role="secondary">Documentation</a>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@ Three-column scaffold: sidebar, content, TOC. Source order: left `<aside>` → c
|
||||||
<nav data-nav="sidebar" aria-label="Docs">
|
<nav data-nav="sidebar" aria-label="Docs">
|
||||||
<small>Getting started</small>
|
<small>Getting started</small>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/docs/introduction/" aria-current="page">Introduction</a></li>
|
<li><a href="/docs/getting-started/introduction/" aria-current="page">Introduction</a></li>
|
||||||
<li><a href="/docs/tokens/">Token System</a></li>
|
<li><a href="/docs/core/tokens/">Token System</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
@ -75,7 +75,7 @@ CTA button row, centered, wraps on small screens.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<nav data-layout="actions">
|
<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>
|
<a href="https://github.com/..." data-role="secondary">GitHub</a>
|
||||||
</nav>
|
</nav>
|
||||||
```
|
```
|
||||||
|
|
@ -243,5 +243,5 @@ Renders a `<dl>` as a two-column grid: terms on the left, definitions on the rig
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
|
||||||
- [Data Attributes](/docs/data-attributes/) — full `data-*` vocabulary reference
|
- [Data Attributes](/docs/core/data-attributes/) — full `data-*` vocabulary reference
|
||||||
- [Token System](/docs/tokens/) — the custom property values that layout tokens reference
|
- [Token System](/docs/core/tokens/) — the custom property values that layout tokens reference
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,6 @@ Add `data-layout="vertical"` for a top-down flow — useful in sidebars or narro
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
|
||||||
- [Data Attributes](/docs/data-attributes/) — `data-role`, `data-status`, and the full attribute vocabulary
|
- [Data Attributes](/docs/core/data-attributes/) — `data-role`, `data-status`, and the full attribute vocabulary
|
||||||
- [Layouts](/docs/layouts/) — `data-layout` values including `vertical`
|
- [Layouts](/docs/components/layouts/) — `data-layout` values including `vertical`
|
||||||
- [Components](/docs/components/) — callouts, tasks, and other component patterns
|
- [Components](/docs/components/) — callouts, tasks, and other component patterns
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ Text modifier. Supports multiple space-separated values.
|
||||||
|
|
||||||
## data-layout
|
## data-layout
|
||||||
|
|
||||||
Layout pattern. See [Layouts](/docs/layouts/) for the full reference.
|
Layout pattern. See [Layouts](/docs/components/layouts/) for the full reference.
|
||||||
|
|
||||||
Common values: `docs`, `hero`, `install`, `actions`, `grid-2`, `grid-3`, `card-grid`, `stats`, `prose`, `fluid`, `timeline`, `report`.
|
Common values: `docs`, `hero`, `install`, `actions`, `grid-2`, `grid-3`, `card-grid`, `stats`, `prose`, `fluid`, `timeline`, `report`.
|
||||||
|
|
||||||
|
|
@ -155,8 +155,8 @@ Navigation variant. Applied to `<nav>` elements.
|
||||||
```html
|
```html
|
||||||
<nav data-nav="sidebar" aria-label="Documentation">
|
<nav data-nav="sidebar" aria-label="Documentation">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/docs/introduction/" aria-current="page">Introduction</a></li>
|
<li><a href="/docs/getting-started/introduction/" aria-current="page">Introduction</a></li>
|
||||||
<li><a href="/docs/tokens/">Token System</a></li>
|
<li><a href="/docs/core/tokens/">Token System</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
```
|
```
|
||||||
|
|
@ -357,6 +357,6 @@ Document metadata patterns for structured article content.
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
|
||||||
- [Layouts](/docs/layouts/) — `data-layout` values in full
|
- [Layouts](/docs/components/layouts/) — `data-layout` values in full
|
||||||
- [Semantic HTML](/docs/semantic-html/) — how plain elements are styled without attributes
|
- [Semantic HTML](/docs/core/semantic-html/) — how plain elements are styled without attributes
|
||||||
- [Components](/docs/components/) — callouts, tasks, and session blocks in detail
|
- [Components](/docs/components/) — callouts, tasks, and session blocks in detail
|
||||||
|
|
|
||||||
|
|
@ -124,5 +124,5 @@ body { padding-inline: var(--space-4); }
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
|
||||||
- [Semantic HTML](/docs/semantic-html/) — element styles built on top of this reset
|
- [Semantic HTML](/docs/core/semantic-html/) — element styles built on top of this reset
|
||||||
- [Token System](/docs/tokens/) — the custom properties (`--surface`, `--text`, `--font-ui`) referenced in this layer
|
- [Token System](/docs/core/tokens/) — the custom properties (`--surface`, `--text`, `--font-ui`) referenced in this layer
|
||||||
|
|
|
||||||
|
|
@ -267,6 +267,6 @@ Opt out with `data-layout="fluid"` on `<main>`.
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
|
||||||
- [Reset](/docs/reset/) — the normalization layer underneath these element styles
|
- [Reset](/docs/core/reset/) — the normalization layer underneath these element styles
|
||||||
- [Data Attributes](/docs/data-attributes/) — extend element styles with `data-*` attributes
|
- [Data Attributes](/docs/core/data-attributes/) — extend element styles with `data-*` attributes
|
||||||
- [Token System](/docs/tokens/) — the custom properties driving all colours, sizes, and fonts here
|
- [Token System](/docs/core/tokens/) — the custom properties driving all colours, sizes, and fonts here
|
||||||
|
|
|
||||||
|
|
@ -213,5 +213,5 @@ Override chart size tokens on the `[data-chart]` element:
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
|
||||||
- [Token System](/docs/tokens/) — colour tokens used by the chart colour cycle (`--accent`, `--accent-blue`, etc.)
|
- [Token System](/docs/core/tokens/) — colour tokens used by the chart colour cycle (`--accent`, `--accent-blue`, etc.)
|
||||||
- [Data Attributes](/docs/data-attributes/) — the broader `data-*` vocabulary of which `data-chart` is a part
|
- [Data Attributes](/docs/core/data-attributes/) — the broader `data-*` vocabulary of which `data-chart` is a part
|
||||||
|
|
|
||||||
|
|
@ -151,5 +151,5 @@ Use Chroma for Hugo sites. Use Prism for everything else.
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
|
||||||
- [Token System](/docs/tokens/) — the Open Props colour tokens that the highlight palette maps to
|
- [Token System](/docs/core/tokens/) — the Open Props colour tokens that the highlight palette maps to
|
||||||
- [Semantic HTML](/docs/semantic-html/) — how `<pre>` and `<code>` are styled at the element level
|
- [Semantic HTML](/docs/core/semantic-html/) — how `<pre>` and `<code>` are styled at the element level
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue