Port vault section (5 pages) and docs section (11 pages)
- content/vault/: _index.md, diff.md, session.md, status.md, tasks.md, wikilinks.md - content/docs/: _index.md, introduction, tokens, reset, semantic-html, components, data-attributes, navigation, layouts, charts, chroma, accordion-dialog 96 pages build clean (was 36). Docs use sidebar nav + TOC layout. Vault uses sidebar with section fallback (no vault menu configured yet). URLs fixed: playground refs → asw.trentuna.com. Closes: asw#12, asw#9
This commit is contained in:
parent
cbe44d845c
commit
da1d02ccd1
19 changed files with 2462 additions and 1 deletions
38
content/vault/tasks.md
Normal file
38
content/vault/tasks.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
title: "Tasks"
|
||||
description: "Render task lists with semantic state: done, wip, blocked, todo."
|
||||
section: vault
|
||||
prev-url: ""
|
||||
prev-title: ""
|
||||
next-url: "wikilinks/"
|
||||
next-title: "Wikilinks"
|
||||
type: vault
|
||||
date: 2026-04-09
|
||||
tags: ["vault", "tasks", "reference"]
|
||||
ai-disclosure: "generated"
|
||||
ai-model: "claude-sonnet-4-5"
|
||||
ai-provider: "Anthropic"
|
||||
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Use `data-task` on list items to convey task state without CSS classes.
|
||||
|
||||
```html
|
||||
<ul>
|
||||
<li data-task="done">Completed item</li>
|
||||
<li data-task="wip">Work in progress</li>
|
||||
<li data-task="blocked">Blocked item</li>
|
||||
<li data-task="todo">Not started</li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
## States
|
||||
|
||||
| Value | Meaning |
|
||||
|-------|---------|
|
||||
| `done` | Completed — green check |
|
||||
| `wip` | In progress — amber |
|
||||
| `blocked` | Blocked — red |
|
||||
| `todo` | Not started — muted |
|
||||
Loading…
Add table
Add a link
Reference in a new issue