feat: legacy import — packs, examples, lab, themes, docs, lineage

Import from agentic-semantic-web/ into restructured repo:
- 7 packs (apache, caddy, flask, hugo, nginx, pandoc, python)
- shared error pages (403-503)
- 17 lab experiments (boilerplate, charts, misc)
- 31 example pages (charts, components, content, layout, vault)
- 2 themes (garden, trentuna stub)
- 4 docs (llms.txt, vocabulary, philosophy, agent-directive)
- lineage.md (Pico/Open Props/Charts.css history)
- Hugo mounts for lab/ and examples/

All agentic.css references updated to asw.css.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ludo 2026-04-11 16:57:39 +02:00
parent e9895cf90d
commit 86464f3e21
Signed by: ludo
GPG key ID: F6E479DEFAB84D6E
100 changed files with 14700 additions and 4 deletions

View file

@ -0,0 +1,30 @@
# ASW Apache Autoindex — config snippet
#
# Enables ASW-styled directory listings.
# Apache's HeaderName/ReadmeName inject custom HTML before/after the file table.
#
# Paste this into your VirtualHost block or a <Directory> block.
# Adjust paths to match your setup.
# ── Autoindex settings ───────────────────────────────────────────────────────
Options +Indexes
IndexOptions FancyIndexing HTMLTable SuppressRules SuppressColumnSorting
IndexOptions +NameWidth=* +DescriptionWidth=* +Charset=UTF-8
# Custom header/footer HTML injected around the file table
HeaderName /autoindex/autoindex-header.html
ReadmeName /autoindex/autoindex-footer.html
# Suppress the default Apache header (H1 "Index of /path")
# — our header file provides the title
IndexOptions +SuppressHTMLPreamble
# Serve the custom header/footer files
Alias /autoindex/ /home/exedev/projects/agentic-semantic-web/packs/apache/
<Directory /home/exedev/projects/agentic-semantic-web/packs/apache/>
Options None
AllowOverride None
Require all granted
</Directory>

View file

@ -0,0 +1,27 @@
# ASW Apache Error Pages — config snippet
#
# Paste this into your VirtualHost block or httpd.conf.
# Adjust the DocumentRoot alias path to where your errors/ directory lives.
#
# Assumes asw.css is served at /asw/asw.css
# (serve the agentic-semantic-web repo root as /asw/ — see README.md)
# ── Error pages ──────────────────────────────────────────────────────────────
ErrorDocument 400 /errors/400.html
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 502 /errors/502.html
ErrorDocument 503 /errors/503.html
# Serve the ASW errors/ directory.
# Adjust the path to where your agentic-semantic-web checkout lives.
Alias /errors/ /home/exedev/projects/agentic-semantic-web/errors/
<Directory /home/exedev/projects/agentic-semantic-web/errors/>
Options None
AllowOverride None
Require all granted
</Directory>

View file

@ -0,0 +1,3 @@
</main>
</body>
</html>

View file

@ -0,0 +1,49 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/asw/asw.css">
<title>Directory Listing</title>
<style>
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; padding: 2rem; max-width: 80ch; margin: 0 auto; width: 100%; }
/* Apache autoindex outputs a <table> — style it to match ASW */
table {
width: 100%;
border-collapse: collapse;
font-family: var(--asw-font-mono);
font-size: var(--asw-text-sm);
}
table th {
text-align: left;
padding: 0.5rem 0.75rem;
border-bottom: 1px solid var(--asw-border);
color: var(--asw-text-muted);
font-weight: 500;
font-size: var(--asw-text-xs);
text-transform: uppercase;
letter-spacing: 0.06em;
}
table td {
padding: 0.4rem 0.75rem;
border-bottom: 1px solid var(--asw-border-subtle);
color: var(--asw-text-secondary);
}
table tr:hover td { background: var(--asw-bg-hover); }
table td:first-child a {
color: var(--asw-accent);
text-decoration: none;
}
table td:first-child a:hover { text-decoration: underline; }
/* parent directory link */
table td img { display: none; } /* hide Apache's default icons */
</style>
</head>
<body>
<nav>
<ul><li><a href="/"><strong>Home</strong></a></li></ul>
</nav>
<main>
<h1>Directory listing</h1>