Skip to content

Commit 5241a21

Browse files
test: validate README nav anchors
Add a README navigation validator script that checks preamble links against GitHub-generated slugs for emoji-prefixed H2 headings across the main and localized READMEs. Update affected README navigation links/headings (including slug casing and tool emoji) and wire the new `validate:readme-navigation` npm script into the lint workflow.
1 parent ae39c31 commit 5241a21

26 files changed

Lines changed: 288 additions & 76 deletions

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ jobs:
2727

2828
- name: Lint
2929
run: npm run lint
30+
31+
- name: Validate README navigation
32+
run: npm run validate:readme-navigation

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div align="center" style="display: none;">
1010
[
1111
<a href="#-clients">Clients</a> •
12-
<a href="#%EF%B8%8F-tools">Tools</a> •
12+
<a href="#-tools">Tools</a> •
1313
<a href="#-game-stores">Game Stores</a> •
1414
<a href="#-frontends">Frontends</a> •
1515
<a href="#-virtual-displays">Virtual Displays</a> •
@@ -37,7 +37,7 @@
3737
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) - Moonlight client for LG webOS TV.
3838
- [Samsung Tizen TV](https://github.com/brightcraft/moonlight-tizen) - Moonlight client for Samsung Tizen TV.
3939

40-
## 🛠️ Tools
40+
## 🔧 Tools
4141
- [Cloudy Pad](https://github.com/PierreBeucher/cloudypad) - Deploy Sunshine in the Cloud: Paperspace, AWS, Azure, Google Cloud, and more.
4242
- [GSMS](https://github.com/LizardByte/GSMS) - Migrate games and apps from GeForce Experience to Sunshine.
4343
- [LutrisToSunshine](https://github.com/Arbitrate3280/LutrisToSunshine) - This script lists games from Lutris, Heroic and/or Bottles, adds them to Sunshine, and optionally downloads game covers from SteamGridDB.

locale/bg/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88

99
<div align="center" style="display: none;">
1010
[
11-
<a href="#-Клиенти">Клиенти</a> •
12-
<a href="#%EF%B8%8F-Инструменти">Инструменти</a> •
13-
<a href="#-Магазини-за-игри">Магазини за игри</a> •
11+
<a href="#-клиенти">Клиенти</a> •
12+
<a href="#-инструменти">Инструменти</a> •
13+
<a href="#-магазини-за-игри">Магазини за игри</a> •
1414
<a href="#-frontends">Frontends</a> •
15-
<a href="#-Виртуални-дисплеи">Виртуални дисплеи</a> •
16-
<a href="#-Скриптове">Скриптове</a> •
17-
<a href="#-Тестване">Тестване</a> •
18-
<a href="#-Ръководства">Ръководства</a>
15+
<a href="#-виртуални-дисплеи">Виртуални дисплеи</a> •
16+
<a href="#-скриптове">Скриптове</a> •
17+
<a href="#-тестване">Тестване</a> •
18+
<a href="#-ръководства">Ръководства</a>
1919
]
2020
</div>
2121

@@ -38,7 +38,7 @@
3838
- [Новото Nintendo 3DS](https://github.com/zoeyjodon/moonlight-N3DS) – Клиент за новото Nintendo 3DS.
3939
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) – Клиент за телевизори LG с webOS.
4040

41-
## 🛠️ Инструменти
41+
## 🔧 Инструменти
4242

4343
- [Cloudy Pad](https://github.com/PierreBeucher/cloudypad) – Инсталиране на Sunshine в облака: Paperspace, AWS, Azure, Google Cloud и др.
4444
- [GSMS](https://github.com/LizardByte/GSMS) – Прехвърляне на игри и приложения от GeForce Experience към Sunshine.

locale/cs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div align="center" style="display: none;">
1010
[
1111
<a href="#-klienti">Klienti</a> •
12-
<a href="#%EF%B8%8F-nástroje">Nástroje</a> •
12+
<a href="#-nástroje">Nástroje</a> •
1313
<a href="#-herní-obchody">Herní obchody</a> •
1414
<a href="#-frontendy">Frontendy</a> •
1515
<a href="#-virtuální-displeje">Virtuální displeje</a> •
@@ -38,7 +38,7 @@
3838
- [Nový Nintendo 3DS](https://github.com/zoeyjodon/moonlight-N3DS) - Nový Nintendo 3DS klient.
3939
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) - Klient LG webOS TV.
4040

41-
## 🛠️ Nástroje
41+
## 🔧 Nástroje
4242

4343
- [Cloudy Pad](https://github.com/PierreBeucher/cloudypad) - Nasadit Sunshine v Cloudu: Paperspace, AWS, Azure, Google Cloud a další.
4444
- [GSMS](https://github.com/LizardByte/GSMS) - Migrace her a aplikací z GeForce Experience do Sunshine.

locale/de/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div align="center" style="display: none;">
1010
[
1111
<a href="#-kunden">Kunden</a> •
12-
<a href="#%EF%B8%8F-werkzeuge">Werkzeuge</a> •
12+
<a href="#-werkzeuge">Werkzeuge</a> •
1313
<a href="#-game-stores">Game Stores</a> •
1414
<a href="#-frontends">Frontends</a> •
1515
<a href="#-virtuelle-anzeige">Virtuelle Anzeige</a> •
@@ -38,7 +38,7 @@
3838
- [New Nintendo 3DS](https://github.com/zoeyjodon/moonlight-N3DS) - Neuer Nintendo 3DS Client.
3939
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) - LG webOS TV client.
4040

41-
## 🛠️ Werkzeuge
41+
## 🔧 Werkzeuge
4242

4343
- [Cloudy Pad](https://github.com/PierreBeucher/cloudypad) - Deploy Sunshine in der Cloud: Paperspace, AWS, Azure, Google Cloud und mehr.
4444
- [GSMS](https://github.com/LizardByte/GSMS) - Migrieren Sie Spiele und Apps von GeForce Experience zu Sunshine.

locale/en_GB/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div align="center" style="display: none;">
1010
[
1111
<a href="#-clients">Clients</a> •
12-
<a href="#%EF%B8%8F-tools">Tools</a> •
12+
<a href="#-tools">Tools</a> •
1313
<a href="#-game-stores">Game Stores</a> •
1414
<a href="#-frontends">Frontends</a> •
1515
<a href="#-virtual-displays">Virtual Displays</a> •
@@ -38,7 +38,7 @@
3838
- [New Nintendo 3DS](https://github.com/zoeyjodon/moonlight-N3DS) - New Nintendo 3DS client.
3939
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) - LG webOS TV client.
4040

41-
## 🛠️ Tools
41+
## 🔧 Tools
4242

4343
- [Cloudy Pad](https://github.com/PierreBeucher/cloudypad) - Deploy Sunshine in the Cloud: Paperspace, AWS, Azure, Google Cloud, and more.
4444
- [GSMS](https://github.com/LizardByte/GSMS) - Migrate games and apps from GeForce Experience to Sunshine.

locale/en_US/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div align="center" style="display: none;">
1010
[
1111
<a href="#-clients">Clients</a> •
12-
<a href="#%EF%B8%8F-tools">Tools</a> •
12+
<a href="#-tools">Tools</a> •
1313
<a href="#-game-stores">Game Stores</a> •
1414
<a href="#-frontends">Frontends</a> •
1515
<a href="#-virtual-displays">Virtual Displays</a> •
@@ -38,7 +38,7 @@
3838
- [New Nintendo 3DS](https://github.com/zoeyjodon/moonlight-N3DS) - New Nintendo 3DS client.
3939
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) - LG webOS TV client.
4040

41-
## 🛠️ Tools
41+
## 🔧 Tools
4242

4343
- [Cloudy Pad](https://github.com/PierreBeucher/cloudypad) - Deploy Sunshine in the Cloud: Paperspace, AWS, Azure, Google Cloud, and more.
4444
- [GSMS](https://github.com/LizardByte/GSMS) - Migrate games and apps from GeForce Experience to Sunshine.

locale/es/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div align="center" style="display: none;">
1010
[
1111
<a href="#-clientes">Clientes</a> •
12-
<a href="#%EF%B8%8F-herramientas">Herramientas</a> •
12+
<a href="#-herramientas">Herramientas</a> •
1313
<a href="#-tienda-de-juegos">Tienda de juegos</a> •
1414
<a href="#-frontends">Frontends</a> •
1515
<a href="#-pantallas-virtuales">Pantallas virtuales</a> •
@@ -38,7 +38,7 @@
3838
- [Nuevo Nintendo 3DS](https://github.com/zoeyjodon/moonlight-N3DS) - Nuevo cliente de Nintendo 3DS.
3939
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) - cliente de LG webOS TV.
4040

41-
## 🛠️ Herramientas
41+
## 🔧 Herramientas
4242

4343
- [Noudy Pad](https://github.com/PierreBeucher/cloudypad) - Desplegar el sol en la nube: Paperspace, AWS, Azure, Google Cloud, y más.
4444
- [GSMS](https://github.com/LizardByte/GSMS) - Migrate juegos y aplicaciones de GeForce Experience a Sunshine.

locale/fr/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<div align="center" style="display: none;">
1010
[
1111
<a href="#-clients">Clients</a> •
12-
<a href="#%EF%B8%8F-outils">Outils</a> •
12+
<a href="#-outils">Outils</a> •
1313
<a href="#-magasins-de-jeux">Magasins de jeux</a> •
1414
<a href="#-frontends">Frontends</a> •
1515
<a href="#-affichages-virtuels">Affichages virtuels</a> •
1616
<a href="#-scripts">Scripts</a> •
17-
<a href="#-Tests">Tests</a> •
17+
<a href="#-tests">Tests</a> •
1818
<a href="#-guides">Guides</a>
1919
]
2020
</div>
@@ -38,7 +38,7 @@
3838
- [New Nintendo 3DS](https://github.com/zoeyjodon/moonlight-N3DS) - Nouveau client Nintendo 3DS.
3939
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) - Client LG webOS TV.
4040

41-
## 🛠️ Outils
41+
## 🔧 Outils
4242

4343
- [Cloudy Pad](https://github.com/PierreBeucher/cloudypad) - Déployer le soleil dans le nuage : Paperspace, AWS, Azure, Google Cloud, et plus encore.
4444
- [GSMS](https://github.com/LizardByte/GSMS) - Migrer les jeux et les applications de GeForce Experience vers Sunshine.

locale/hu/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
<div align="center" style="display: none;">
1010
[
1111
<a href="#-kliensek">Kliensek</a> •
12-
<a href="#%EF%B8%8F-eszközök">Eszközök</a> •
12+
<a href="#-eszközök">Eszközök</a> •
1313
<a href="#-játékboltok">Játékboltok</a> •
1414
<a href="#-frontendek">Frontendek</a> •
1515
<a href="#-virtuális-kijelzők">Virtuális kijelzők</a> •
1616
<a href="#-szkriptek">Szkriptek</a> •
1717
<a href="#-tesztelés">Tesztelés</a> •
18-
<a href="#-Útmutatók">Útmutatók</a>
18+
<a href="#-útmutatók">Útmutatók</a>
1919
]
2020
</div>
2121

@@ -38,7 +38,7 @@
3838
- [New Nintendo 3DS](https://github.com/zoeyjodon/moonlight-N3DS) - Új Nintendo 3DS kliens.
3939
- [LG webOS TV](https://github.com/mariotaku/moonlight-tv) - LG webOS TV kliens.
4040

41-
## 🛠️ Eszközök
41+
## 🔧 Eszközök
4242

4343
- [Cloudy Pad](https://github.com/PierreBeucher/cloudypad) - Sunshine telepítése a felhőben: Paperspace, AWS, Azure, Google Cloud és más szolgáltatók.
4444
- [GSMS](https://github.com/LizardByte/GSMS) - Játékok és alkalmazások áttelepítése a GeForce Experience-ről a Sunshine-ra.

0 commit comments

Comments
 (0)