Skip to content

Link refund policy from disputes-and-refunds docs; fix _site tracking regression - #1546

Merged
alexanmtz merged 2 commits into
gh-pagesfrom
claude/gitpay-refund-policy-link
Sep 6, 2026
Merged

Link refund policy from disputes-and-refunds docs; fix _site tracking regression#1546
alexanmtz merged 2 commits into
gh-pagesfrom
claude/gitpay-refund-policy-link

Conversation

@alexanmtz

Copy link
Copy Markdown
Member

Summary

Two things:

  1. Adds an "Our refund policy" section to _docs/en/disputes-and-refunds.md, stating the general rule and linking to the new Refunds clause in the Terms of Service (worknenjoy/gitpay#1545, companion PR against master).
  2. Fixes a regression from docs: audit and improve Gitpay product documentation #1543: _site/ is still tracked on gh-pages after that PR merged, and worse, its content is now my local validation build's output (Jekyll v3.10.0, localhost:4000 canonical URLs) rather than either being removed or left alone.

Why _site/ came back

#1543 intended to untrack _site/ (git rm -r --cached _site, documented in that PR's first commit). While splitting that work into logical commits afterward, I ran git reset to reorganize staged changes — which unstaged that removal — then re-staged with git add -A _site .gitignore for a later commit. Since _site/ was tracked again at that point (the reset restored it) and had changed on disk (from my own local jekyll build runs during validation), git add -A updated the tracked copy instead of removing it. The .gitignore entry from the same PR is correct and does stop future untracked builds from being added, but it doesn't retroactively untrack a path that's already back in the index.

This time: git rm -r --cached _site, committed immediately with nothing in between to undo it. Verified the commit is 202 pure deletions and nothing else, and that a fresh bundle exec jekyll build afterward leaves git status clean (confirming _site/ stays untracked going forward).

Validation

  • bundle exec jekyll build — succeeds.
  • git status after the build — clean (no _site/ changes reappear).
  • htmlproofer ./_site --disable-external --checks Links,Scripts,Images — 0 failures.
  • Manually diffed the _site removal commit (git show --stat) to confirm 202 files, all deletions, no other paths touched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PtCXQDsoFovaYbCxvdjua2


Generated by Claude Code

Adds a short "Our refund policy" section stating the general rule
(completed/accepted work is non-refundable, with the usual
fraud/duplicate/undelivered carve-outs) and points to the Refunds
clause now in the Terms of Service (#1545), so the
practical debit/credit mechanics on this page sit next to the policy
they implement.

There's no direct URL for the Terms of Service in the app today — it
opens as an in-page dialog from the site footer's "Legal" menu rather
than living at its own route — so the link points to gitpay.me with
that noted, instead of a fabricated deep link.
The previous attempt at this (in #1543) added .gitignore's _site/
entry but the removal itself got reverted by an in-progress `git
reset` while splitting that PR into commits, so the merge ended up
re-committing _site/ anyway — with my local validation build's output
baked in (Jekyll v3.10.0, localhost:4000 canonical URLs), which is
worse than the original stale copy it was meant to replace.

This time: a plain `git rm -r --cached _site`, committed immediately,
nothing in between to undo it. Verified the diff below is 202 pure
deletions with no other changes.
@alexanmtz
alexanmtz merged commit 081090a into gh-pages Sep 6, 2026
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.

2 participants