Skip to content

fix: replace broken Google Sheets links with subsidy calculator#574

Open
thepastaclaw wants to merge 2 commits intodashpay:23.0.0from
thepastaclaw:fix/subsidy-calculator-link
Open

fix: replace broken Google Sheets links with subsidy calculator#574
thepastaclaw wants to merge 2 commits intodashpay:23.0.0from
thepastaclaw:fix/subsidy-calculator-link

Conversation

@thepastaclaw
Copy link
Contributor

@thepastaclaw thepastaclaw commented Mar 21, 2026

Replaces two broken Google Spreadsheet links in the emission/subsidy section with the new interactive Dash Block Subsidy Calculator.

The old Google Sheets links (referenced in #573) return errors — the new calculator is self-hosted and covers block subsidy, reward allocation by era, and emission curve.

Closes #573

Preview build: https://dash-docs--574.org.readthedocs.build/en/574/

Summary by CodeRabbit

  • Documentation
    • Added a new reference link to an external Dash subsidy calculator.
    • Replaced two prior Google Sheets links in emission calculation sections with the new reference.
    • Cleaned up link text/formatting for the total coin emission and calculation links.

Replace two broken Google Spreadsheet links in the emission/subsidy
section with the new interactive Dash Block Subsidy Calculator.

Closes dashpay#573
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 21, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 16236da9-dec3-41d0-af71-ff1641979c2e

📥 Commits

Reviewing files that changed from the base of the PR and between cb5d01f and 337716d.

📒 Files selected for processing (1)
  • docs/user/introduction/features.rst
✅ Files skipped from review due to trivial changes (1)
  • docs/user/introduction/features.rst

📝 Walkthrough

Walkthrough

Replaced two external Google Sheets links in the features documentation with a single self-hosted Dash subsidy calculator URL (https://thepastaclaw.github.io/dash-subsidy-calculator/) and adjusted link formatting in the Emission Rate / Total coin emission sections. (45 words)

Changes

Cohort / File(s) Summary
Documentation URL Updates
docs/user/introduction/features.rst
Added Sphinx reference target dash-subsidy-calculator pointing to https://thepastaclaw.github.io/dash-subsidy-calculator/; replaced two Google Sheets hyperlinks in Emission Rate / Total coin emission sections with that reference and unified link formatting.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: replacing broken Google Sheets links with a subsidy calculator reference.
Linked Issues check ✅ Passed The changes successfully address issue #573 by replacing the broken Google Sheets links with a working self-hosted Dash Block Subsidy Calculator.
Out of Scope Changes check ✅ Passed All changes are directly related to the scope of issue #573: replacing broken subsidy calculation links with a working calculator.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
docs/user/introduction/features.rst (1)

397-397: Deduplicate the repeated calculator URL using a named RST target.

The calculator link appears at both line 369 and line 397. Defining a named hyperlink target avoids maintenance issues if the URL changes again.

♻️ Proposed refactor
+.. _dash-subsidy-calculator: https://thepastaclaw.github.io/dash-subsidy-calculator/
+
 ...
-block subsidy is reduced at regular intervals, as `shown
-in this calculation
-<https://thepastaclaw.github.io/dash-subsidy-calculator/>`_.
+block subsidy is reduced at regular intervals, as `shown
+in this calculation <dash-subsidy-calculator_>`_.
 ...
-`Dash's total coin emission <https://thepastaclaw.github.io/dash-subsidy-calculator/>`_ is
+`Dash's total coin emission <dash-subsidy-calculator_>`_ is
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/user/introduction/features.rst` at line 397, Define a single named
reStructuredText hyperlink target for the Dash calculator (e.g., use a target
like ".. _dash_calculator:
https://thepastaclaw.github.io/dash-subsidy-calculator/") near the top of the
document and replace both inline occurrences of the full URL (`Dash's total coin
emission <https://thepastaclaw.github.io/dash-subsidy-calculator/>`_) with the
named reference using the target label (`Dash's total coin emission
<dash_calculator_>`_), ensuring both line 369 and line 397 now reference the
same named target.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@docs/user/introduction/features.rst`:
- Line 397: Define a single named reStructuredText hyperlink target for the Dash
calculator (e.g., use a target like ".. _dash_calculator:
https://thepastaclaw.github.io/dash-subsidy-calculator/") near the top of the
document and replace both inline occurrences of the full URL (`Dash's total coin
emission <https://thepastaclaw.github.io/dash-subsidy-calculator/>`_) with the
named reference using the target label (`Dash's total coin emission
<dash_calculator_>`_), ensuring both line 369 and line 397 now reference the
same named target.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5db27f11-8dbb-45cc-b00f-d35f1a89856e

📥 Commits

Reviewing files that changed from the base of the PR and between 596acdf and cb5d01f.

📒 Files selected for processing (1)
  • docs/user/introduction/features.rst

@jorgesumle
Copy link
Contributor

the new calculator is self-hosted

It's hosted on GitHub, but it's still a step forward, because it works.

@thepastaclaw
Copy link
Contributor Author

Fair point — "self-hosted" is a stretch when it's on GitHub Pages. The key bit is that it actually works, unlike the old Sheets links. 😄

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.

Linked block subsidy calculation doesn't work

2 participants