Skip to content

Add a generated documentation site - #8

Merged
godofecht merged 1 commit into
mainfrom
site-pages
Jul 22, 2026
Merged

Add a generated documentation site#8
godofecht merged 1 commit into
mainfrom
site-pages

Conversation

@godofecht

Copy link
Copy Markdown
Owner

Static docs site under site/, matching the convention azazel already uses: the VPS webhook deploys any repo's site/ directory verbatim to /var/www/<repo>/.

10 pages generated from docs/WIKI.md by scripts/build_site.py (python3 stdlib only). Markdown stays the single source of truth. Both the generator and its output are committed, because the webhook cannot run a build step.

Verification

142 local links checked, 0 broken
0 markdown leaks outside code blocks
regeneration produces no diff
35/35 tests still pass

Well-formedness checked with a strict html.parser subclass that raises on stray end tags, mismatched closes, unclosed elements at EOF, and duplicate ids. Every page has a title and meta description. Code blocks round-trip byte for byte, including <, > and &.

The generator asserts every source section lands on a page or is explicitly skipped, so the split cannot silently drop content when the Markdown changes.

site/style.css is azazel's stylesheet unchanged for the first 9070 bytes, plus a marked additions block for table scroll containers and code-block language labels. azazel itself is untouched.

🤖 Generated with Claude Code

scripts/build_site.py renders docs/WIKI.md into site/, split across ten
pages. The Markdown stays the single source of truth; the HTML is
committed because the deploy webhook copies site/ verbatim and cannot run
a build step.

The generator is Python 3 stdlib only and handles headings, paragraphs,
fenced code with language labels, inline code, bold, italics, links,
lists, tables, and blockquotes. Running it twice produces byte-identical
output.

site/style.css is azazel's stylesheet unchanged, plus a short block for
the code language label, a scroll container for wide tables, and
blockquote and rule styling.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@godofecht
godofecht merged commit ebaebee into main Jul 22, 2026
2 checks passed
@godofecht
godofecht deleted the site-pages branch July 24, 2026 23:25
godofecht added a commit that referenced this pull request Jul 29, 2026
Add a generated documentation site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant