Skip to content

chore: rename spending balance to lightning balance#1

Open
reneaaron wants to merge 1 commit into
mainfrom
rename-spending-to-lightning-balance
Open

chore: rename spending balance to lightning balance#1
reneaaron wants to merge 1 commit into
mainfrom
rename-spending-to-lightning-balance

Conversation

@reneaaron
Copy link
Copy Markdown
Member

Summary

  • Renames "Spending Balance" → "Lightning Balance" across hub docs to match the terminology now used in Alby Hub itself (see getAlby/hub#2305).
  • Renames hub/node/advanced-increase-spending-balance-with-on-chain-bitcoin.md…-lightning-balance-…md, and updates SUMMARY.md plus the three inbound content-refs.
  • Adds hub/.gitbook.yaml with a redirect from the old slug to the new one so existing external links keep working.

Casing was preserved (Spending BalanceLightning Balance, spending balancelightning balance). The "outbound liquidity" / "local balance" synonyms were kept where they appeared.

Notes for reviewers

  • The glossary heading also moved, which means the GitBook-generated anchor …/bitcoin-wallet-glossary#spending-balance is now #lightning-balance. .gitbook.yaml redirects are page-level only, so external deep links to the old anchor will still land on the glossary page (just at the top, not at the section). Acceptable degradation.
  • One pre-existing broken anchor in getting-started.md line 12 (#how-to-top-up-your-spending-balance-…) was left untouched — the heading it points to was already different before this PR.

Test plan

  • GitBook preview renders the renamed page at the new URL
  • All content-ref blocks pointing at the renamed page resolve
  • Old URL …/hub/node/advanced-increase-spending-balance-with-on-chain-bitcoin redirects to the new one
  • Sidebar entry under Node still reads "📤 Advanced: Increase Lightning Balance with on-chain bitcoin"
  • No "Spending Balance" copy remains: grep -ri "spending balance" hub/ returns only the redirect entry in .gitbook.yaml

🤖 Generated with Claude Code

Match the terminology used in Alby Hub since getAlby/hub#2305.

- Update copy across hub docs to use "Lightning Balance" / "lightning
  balance" (preserving sentence case where appropriate).
- Rename the "Advanced: Increase Spending Balance" page file to match,
  update SUMMARY.md and inbound content-refs.
- Add hub/.gitbook.yaml with a redirect from the old page slug to the
  new one so existing inbound links keep working.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Comment thread hub/.gitbook.yaml
@reneaaron reneaaron closed this May 7, 2026
@reneaaron reneaaron reopened this May 7, 2026
@reneaaron reneaaron closed this May 7, 2026
@reneaaron reneaaron reopened this May 7, 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.

1 participant