Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Badges: stars from shields.io again, the site builds again

Mason3636be9bf260acd
diff --git a/.github/workflows/badges.yml b/.github/workflows/badges.yml
index afdf9e50..a16ead69 100644
--- a/.github/workflows/badges.yml
+++ b/.github/workflows/badges.yml
@@ -1,6 +1,6 @@
name: Badges
-# The README's downloads, stars and version badges read docs/badges/*.json, which GitHub Pages makes
+# The README's downloads and version badges read docs/badges/*.json, which GitHub Pages makes
# from the repository's own data each time it builds the site (shields.io then never asks GitHub
# itself). This asks for a build every six hours, so the numbers stay fresh between pushes; Build asks
# for one after each release.
diff --git a/README.md b/README.md
index 1ca2d8c3..5b7dc9a8 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@
<p align="center">
<a href="https://github.com/Mason363/NumPlay/releases"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fmason363.github.io%2FNumPlay%2Fdocs%2Fbadges%2Fdownloads.json&style=for-the-badge" alt="Total downloads"></a>
- <a href="https://github.com/Mason363/NumPlay/stargazers"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fmason363.github.io%2FNumPlay%2Fdocs%2Fbadges%2Fstars.json&style=for-the-badge" alt="GitHub stars"></a>
+ <a href="https://github.com/Mason363/NumPlay/stargazers"><img src="https://img.shields.io/github/stars/Mason363/NumPlay?style=for-the-badge&color=E3B341" alt="GitHub stars"></a>
<a href="https://github.com/Mason363/NumPlay/releases/latest"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fmason363.github.io%2FNumPlay%2Fdocs%2Fbadges%2Fversion.json&style=for-the-badge" alt="Latest version"></a>
</p>
diff --git a/docs/badges/stars.json b/docs/badges/stars.json
deleted file mode 100644
index 4f26fc50..00000000
--- a/docs/badges/stars.json
+++ /dev/null
@@ -1,10 +0,0 @@
----
-layout: null
----
-{%- comment -%}
-The README's stars badge (a shields.io endpoint badge): this repository's stars, read when GitHub Pages
-builds the site.
-{%- endcomment -%}
-{%- assign s = 0 -%}
-{%- for r in site.github.public_repositories -%}{%- if r.name == site.github.repository_name -%}{%- assign s = r.stargazers_count -%}{%- endif -%}{%- endfor -%}
-{"schemaVersion": 1, "label": "stars", "message": "{{ s }}", "color": "E3B341"}