Skip to content

feat(web): host the privacy policy on GitHub Pages at /privacy.html#72

Merged
paperhurts merged 1 commit into
mainfrom
feat/host-privacy-policy
Jul 3, 2026
Merged

feat(web): host the privacy policy on GitHub Pages at /privacy.html#72
paperhurts merged 1 commit into
mainfrom
feat/host-privacy-policy

Conversation

@paperhurts

Copy link
Copy Markdown
Owner

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 — renders docs/privacy-policy.md into dist/privacy.html with marked, 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 as postbuild (pnpm runs it automatically after build), plus the marked devDependency.
  • .github/workflows/deploy-web.ymldocs/privacy-policy.md added to the deploy-trigger paths so policy edits redeploy without touching the web package.

Verification

  • pnpm --filter @gitmarks/web build runs the postbuild and emits dist/privacy.html.
  • Rendered output eyeballed in Chromium: headings, links, code spans, and the data-handling table all render correctly in the dark theme; footer links back to the web UI and the repo.
  • CI's "Build everything" step exercises the postbuild on every PR from here on.

After merge, the policy will be live at https://<pages-domain>/privacy.html next to the web UI — that's the URL to paste into both store submission forms.

Part of #61

🤖 Generated with Claude Code

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>
@paperhurts paperhurts merged commit 55adfd6 into main Jul 3, 2026
2 checks passed
@paperhurts paperhurts deleted the feat/host-privacy-policy branch July 3, 2026 19:53
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