Repository navigation
Add site content pages (policies, trust, guides, about, conduct, legal) - #5
Merged
Merged
Conversation
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]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
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.
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):
/about/policies/trust/contributingCONTRIBUTING.md)/guide/conduct/legalWhy
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
site/src/content.config.ts) + a single catch-all route (site/src/pages/[...slug].astro) + aFooter.astrothat 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.@apply(no@tailwindcss/typography). Static output is unchanged in shape.CONTRIBUTING.mdslimmed to a pointer so the publishing guide is maintained in exactly one place (the/contributingpage).<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