asw/site/hugo.toml
Ludo dd810f5a63
feat: auto-generated docs sidebar, Decap CMS, content migration infra
Docs restructure:
- Move flat docs into section subdirs (getting-started/, core/,
  components/, reference/) with _index.md for each
- Sidebar auto-generates from content structure — no manual menu entries
- New doc pages appear automatically when created in a section

Decap CMS:
- admin/index.html + config.yml for browser-based editing
- Local mode (npx decap-server) — no OAuth needed
- Collections for all content types: docs, articles, essays, notes, pages

Hugo head.html updated for new CSS layer filenames.
decap-server added as devDependency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:02:34 +02:00

92 lines
2.4 KiB
TOML

baseURL = 'https://asw.trentuna.com/'
languageCode = 'en'
title = 'ASW — Agentic Semantic Web'
[params]
description = "Agentic Semantic Web — semantic HTML, data-* attributes, and CSS-only styling for the agentic era."
[taxonomies]
tag = "tags"
# ── Navigation menus ──────────────────────────────────────────────────
[[menus.main]]
name = "Home"
url = "/"
weight = 1
[[menus.main]]
name = "Docs"
url = "/docs/"
weight = 2
[[menus.main]]
name = "Notes"
url = "/notes/"
weight = 3
[[menus.main]]
name = "Essays"
url = "/essays/"
weight = 4
[[menus.main]]
name = "Articles"
url = "/articles/"
weight = 5
[[menus.main]]
name = "Tags"
url = "/tags/"
weight = 6
# ── Docs sidebar ─────────────────────────────────────────────────────
# Auto-generated from content/docs/ subdirectories.
# Each subdir with _index.md becomes an h3 section header.
# Pages within are listed by weight. No manual menu entries needed.
# To add a new section: mkdir content/docs/newsection/ + _index.md
# To add a new page: create .md in the right subdir with weight.
# ── Markup settings ───────────────────────────────────────────────────
[markup.goldmark.renderer]
unsafe = true # allow inline HTML in markdown (<mark>, <time>, etc.)
[markup.tableOfContents]
startLevel = 2
endLevel = 3
ordered = false
[markup.highlight]
noClasses = true
codeFences = true
guessSyntax = true
[build.buildStats]
enable = true
# ── Module mounts ────────────────────────────────────────────────────
# Map repo-level directories into Hugo's expected structure.
# Paths are relative to this file's directory (site/).
[[module.mounts]]
source = "content"
target = "content"
[[module.mounts]]
source = "layouts"
target = "layouts"
[[module.mounts]]
source = "static"
target = "static"
[[module.mounts]]
source = "../dist"
target = "static"
[[module.mounts]]
source = "../src/lab"
target = "static/lab"
[[module.mounts]]
source = "../examples"
target = "static/examples"