Add Podscript website (Astro Starlight, GitHub Pages) - #2
Merged
Conversation
A landing page plus full docs, positioned "podcasts as code". Keeps the repo's single-source philosophy: docs/*.md, CHANGELOG.md and examples/*.podscript stay canonical, and site/scripts/sync-docs.mjs generates the Starlight pages from them at build time (generated pages are gitignored). Custom TextMate grammar gives real `.podscript` syntax highlighting site-wide. - site/: Astro + Starlight; landing (splash), synced Spec/Authoring/Glossary/Examples/ Changelog, custom podscript grammar, base '/podscript' for project Pages. - .github/workflows/deploy-site.yml: build + deploy to GitHub Pages on push to main. - Licensing: site code is MIT (LICENSES/MIT.txt + REUSE.toml site/** annotation); reuse lint compliant (committed files 58/58). Requires a one-time manual step: enable Pages (Settings -> Pages -> Source: GitHub Actions) for the deploy job to publish. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A website for Podscript — a marketing landing page plus the full docs — positioned "podcasts as code." Built with Astro + Starlight, deployed to GitHub Pages, living in-repo under
site/.Naming stays Podscript (unchanged); "DSL" never appears in public copy.
Architecture: single-source, generated docs
Mirrors the repo's existing single-sourcing (the docs-examples drift guard):
docs/*.md,CHANGELOG.md, andexamples/*.podscriptremain canonical, andsite/scripts/sync-docs.mjsgenerates the Starlight pages from them at build time (strips SPDX headers, lifts titles, rewrites internal links to site routes). Generated pages are gitignored — no duplication, and the site can never lag the spec.What's included
site/src/content/docs/index.mdx): hero + tagline, the README example, a card-grid pitch (generation vs rendering, relational timing, LLM-authored, diff-able)..podscriptsyntax highlighting via a custom TextMate grammar (site/grammars/podscript.tmLanguage.json) registered with Starlight's Shiki..github/workflows/deploy-site.yml): build + publish to Pages on push tomain.LICENSES/MIT.txt+ asite/**annotation inREUSE.toml); docs content stays CC-BY.For the deploy job to publish, enable Pages once: Settings → Pages → Source: "GitHub Actions." Until then the build succeeds but the deploy step will error. Once enabled + merged, the site is live at https://mikkel-bergmann.github.io/podscript/.
Validation
npm run build→ 7 pages, no errorspodscripthighlighting confirmed in output (data-language="podscript"+ colored keywords)/podscript/…); no raw.mdlinks; hero/sidebar/content links resolvenode_modules/distcorrectly gitignoredreuse lint: committed files 58/58 compliant · docs-drift guard: still greenOut of scope (future)
Interactive playground (no reference renderer yet), splitting the spec into per-section pages, a bespoke logo, custom domain.
🤖 Generated with Claude Code