Skip to content

Add site content pages (policies, trust, guides, about, conduct, legal) - #5

Merged
jing2uo merged 8 commits into
mainfrom
docs/site-content-pages
Jun 21, 2026
Merged

jing2uo merged 8 commits into
mainfrom
docs/site-content-pages

Conversation

@jing2uo

@jing2uo jing2uo commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

What

Adds a flat set of footer-linked content pages to the FlatPark site, mapped from what Flathub publishes at flathub.org / docs.flathub.org and trimmed to FlatPark's model (extra-data only, AI-driven onboarding, community packaging, solo-run):

Page Purpose
/about What FlatPark is, why it exists, relation to Flatpak & Flathub
/policies Listing requirements, vibe-coded rules, AI review, de-listing process
/trust Trust & safety model: extra-data repackaging, pinning, signing, sandbox
/contributing Publishing guide (migrated from CONTRIBUTING.md)
/guide User guide: install, user vs system, updates, uninstall, permissions
/conduct Code of conduct + reporting
/legal Privacy + terms (single page)

Why

The README already promised "clear rules enforced by AI review," "an explicit de-listing process," and the trust story behind extra-data repackaging — but those had no home. The site had only the catalog, app detail pages, and /setup; docs/ was empty.

How it works

  • One content system, built once. An Astro Content Layer collection (site/src/content.config.ts) + a single catch-all route (site/src/pages/[...slug].astro) + a Footer.astro that auto-builds grouped footer links from the collection. After this, adding a page is just one markdown file — its frontmatter (group/order) places it in the footer, no code change.
  • No new dependencies, no client JS. Prose styling is hand-rolled CSS via Tailwind @apply (no @tailwindcss/typography). Static output is unchanged in shape.
  • CONTRIBUTING.md slimmed to a pointer so the publishing guide is maintained in exactly one place (the /contributing page).
  • Global footer replaces the per-app page's inline footer (one footer per page, no duplicates).
  • Each content page emits a <meta name="description"> from frontmatter.

Tests

Extends tests/test_gen_site.sh (build the site + assert the pages and footer render). Full suite green: 12/12, no failures. Verified live end-to-end: all 7 pages return 200, exactly one footer per page, footer links all 7 pages + GitHub.

Design docs

The design spec and implementation plan are included under docs/superpowers/ for context.

🤖 Generated with Claude Code

jing2uo and others added 8 commits June 21, 2026 09:00
Flat set of footer-linked content pages (policies, trust, guides,
about, conduct, legal) rendered via an Astro Content Layer collection,
mapped from flathub.org/docs.flathub.org and trimmed to FlatPark's
extra-data, AI-driven, solo-run model.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Five tasks: content-layer system + global footer + /about, then
/policies + /trust, /contributing (migrated) + /guide, /conduct,
and /legal. Tests extend tests/test_gen_site.sh (build + grep).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@jing2uo
jing2uo merged commit 756070d into main Jun 21, 2026
@jing2uo
jing2uo deleted the docs/site-content-pages branch June 21, 2026 03:40
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