feat(web): host the privacy policy on GitHub Pages at /privacy.html#72
Merged
Conversation
Renders docs/privacy-policy.md (which stays the single source of truth) into dist/privacy.html via a marked-based postbuild script, styled to the web UI palette. The existing Pages deploy picks it up, giving the store listings (#61) a stable privacy-policy URL. Edits to the markdown alone now also trigger the deploy workflow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 3, 2026
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
Hosts the privacy policy on the existing GitHub Pages deploy at
/privacy.html, giving the Chrome Web Store and AMO listings the stable URL they require (#61 Phase 2 remainder).Changes
packages/web/scripts/build-privacy.mjs— rendersdocs/privacy-policy.mdintodist/privacy.htmlwithmarked, wrapped in a dark shell matching the web UI palette (ink/cyan/magenta, mono). The markdown file stays the single source of truth; nothing is duplicated.packages/web/package.json— runs the script aspostbuild(pnpm runs it automatically afterbuild), plus themarkeddevDependency..github/workflows/deploy-web.yml—docs/privacy-policy.mdadded to the deploy-trigger paths so policy edits redeploy without touching the web package.Verification
pnpm --filter @gitmarks/web buildruns the postbuild and emitsdist/privacy.html.After merge, the policy will be live at
https://<pages-domain>/privacy.htmlnext to the web UI — that's the URL to paste into both store submission forms.Part of #61
🤖 Generated with Claude Code