Skip to content

docs: live homepage server count + fix Biomes anchors - #141

Merged
tastybento merged 1 commit into
masterfrom
docs/live-server-count
Nov 24, 2026
Merged

tastybento merged 1 commit into
masterfrom
docs/live-server-count

Conversation

@tastybento

Copy link
Copy Markdown
Member

Summary

  • New server_count() macro in main.py fetches https://download.bentobox.world/api/stats at build time, so the homepage shows the same bStats-derived number as the Downloads site (24h peak, floored to 100, ratcheted). Falls back to 1,700 if the endpoint is unreachable.
  • docs/index.md: both hard-coded "1,600+" values now use the macro (currently renders 1,700+).
  • docs/addons/Biomes/index.md: fixed two anchors that didn't match the generated heading IDs (#config.yml → #configyml, #Template → #template).

The count refreshes whenever Read the Docs rebuilds (every push to master).

Test plan

  • zensical build — No issues found
  • Built homepage shows 1,700+ in the stat tile and the sponsor card

🤖 Generated with Claude Code

Add a server_count() macro that reads download.bentobox.world/api/stats at
build time (same bucketed/ratcheted number the Downloads site shows), with a
fallback if the endpoint is unreachable. Also fix two broken anchors on the
Biomes page (#config.yml -> #configyml, #Template -> #template).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tastybento
tastybento merged commit 0c6321b into master Nov 24, 2026
2 checks passed
@tastybento
tastybento deleted the docs/live-server-count branch November 24, 2026 17:06
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