Skip to content

Commit d5310ec

Browse files
authored
Adding fixes to broken URLs (#2451)
## Motivation for the change, related issues The internal links inside the translated version don't need to include the `/wordpress-playground/` folder at the URL; this anchor is causing a build issue on the Filipino version. The problem is caused by the generated URL from it; for example, when a translation uses this anchor, it generates a URL `/wordpress-playground/gu/wordpress-playground/blueprints` when the correct URL would be `/wordpress-playground/gu/blueprints`. <img width="1505" height="649" alt="Screenshot 2025-08-04 at 10 57 08" src="https://github.com/user-attachments/assets/94964e4b-61b5-401a-ab4e-acccef878d70" /> This pull request fixes the URL and the build process for Filipino translation. After changes: <img width="1116" height="198" alt="Screenshot 2025-08-04 at 11 00 48" src="https://github.com/user-attachments/assets/aace8e2a-56fa-4909-a2e5-264bdf65dc14" />
1 parent d678230 commit d5310ec

File tree

4 files changed

+19
-19
lines changed
  • packages/docs/site
    • docs/main
    • i18n
      • ja/docusaurus-plugin-content-docs/current/main
      • pt-BR/docusaurus-plugin-content-docs/current/main
      • tl/docusaurus-plugin-content-docs/current/main

4 files changed

+19
-19
lines changed

packages/docs/site/docs/main/intro.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ Playground is an online tool to experiment and learn about WordPress. This site
1818

1919
<p class="docs-hubs">The WordPress Playground documentation is distributed across four separate hubs (subsites):</p>
2020

21-
- 👉 [**Documentation**](/wordpress-playground/) (you're here) – Introduction to WP Playground, starter guides and your entry point to WP Playground Docs.
22-
- [**Blueprints**](/wordpress-playground/blueprints) – Blueprints are JSON files for setting up your WordPress Playground instance. Learn about their possibilities from the Blueprints docs hub.
23-
- [**Developers**](/wordpress-playground/developers) – WordPress Playground was created as a programmable tool. Discover all the things you can do with it from your code in the Developers docs hub.
24-
- [**API Reference**](/wordpress-playground/api) – All the APIs exposed by WordPress Playground
21+
- 👉 [**Documentation**](/) (you're here) – Introduction to WP Playground, starter guides and your entry point to WP Playground Docs.
22+
- [**Blueprints**](/blueprints) – Blueprints are JSON files for setting up your WordPress Playground instance. Learn about their possibilities from the Blueprints docs hub.
23+
- [**Developers**](/developers) – WordPress Playground was created as a programmable tool. Discover all the things you can do with it from your code in the Developers docs hub.
24+
- [**API Reference**](/api) – All the APIs exposed by WordPress Playground
2525

2626
## Navigating this documentation hub
2727

2828
This docs hub is focused on starting with WordPress Playground and is divided into the following major sections.
2929

30-
- **[Quick Start Guide](/quick-start-guide)**: For those just starting out with WordPress Playground, this is where you can get up and running with WordPress Playground quickly to [start a new WordPress site](/wordpress-playground/quick-start-guide#start-a-new-wordpress-site) and [try a block/theme/plugin](/wordpress-playground/quick-start-guide#try-a-block-a-theme-or-a-plugin) or [test a specific WordPress/PHP version](/wordpress-playground/quick-start-guide#use-a-specific-wordpress-or-php-version).
30+
- **[Quick Start Guide](/quick-start-guide)**: For those just starting out with WordPress Playground, this is where you can get up and running with WordPress Playground quickly to [start a new WordPress site](/quick-start-guide#start-a-new-wordpress-site) and [try a block/theme/plugin](/quick-start-guide#try-a-block-a-theme-or-a-plugin) or [test a specific WordPress/PHP version](/quick-start-guide#use-a-specific-wordpress-or-php-version).
3131

3232
- **[Playground web instance](/web-instance)**: Learn more about the Playground instance you get at https://playground.wordpress.net/
3333

packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/intro.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ Playground is an online tool to experiment and learn about WordPress. This site
4848
- [**API リファレンス**](/api) – WordPress Playground によって公開されているすべての API
4949

5050
<!--
51-
- 👉 [**Documentation**](/wordpress-playground/) (you're here) – Introduction to WP Playground, starter guides and your entry point to WP Playground Docs.
52-
- [**Blueprints**](/wordpress-playground/blueprints) – Blueprints are JSON files for setting up your WordPress Playground instance. Learn about their possibilities from the Blueprints docs hub.
53-
- [**Developers**](/wordpress-playground/developers) – WordPress Playground was created as a programmable tool. Discover all the things you can do with it from your code in the Developers docs hub.
54-
- [**API Reference**](/wordpress-playground/api) – All the APIs exposed by WordPress Playground
51+
- 👉 [**Documentation**](/) (you're here) – Introduction to WP Playground, starter guides and your entry point to WP Playground Docs.
52+
- [**Blueprints**](/blueprints) – Blueprints are JSON files for setting up your WordPress Playground instance. Learn about their possibilities from the Blueprints docs hub.
53+
- [**Developers**](/developers) – WordPress Playground was created as a programmable tool. Discover all the things you can do with it from your code in the Developers docs hub.
54+
- [**API Reference**](/api) – All the APIs exposed by WordPress Playground
5555
-->
5656

5757
## このドキュメントハブのナビゲーション
@@ -75,7 +75,7 @@ This docs hub is focused on starting with WordPress Playground and is divided in
7575
- **[リンクとリソース](/resources)**: WordPress Playground に関連する役立つリンクとリソースの素敵なまとめ。
7676

7777
<!--
78-
- **[Quick Start Guide](/quick-start-guide)**: For those just starting out with WordPress Playground, this is where you can get up and running with WordPress Playground quickly to [start a new WordPress site](/wordpress-playground/quick-start-guide#start-a-new-wordpress-site) and [try a block/theme/plugin](/wordpress-playground/quick-start-guide#try-a-block-a-theme-or-a-plugin) or [test a specific WordPress/PHP version](/wordpress-playground/quick-start-guide#use-a-specific-wordpress-or-php-version).
78+
- **[Quick Start Guide](/quick-start-guide)**: For those just starting out with WordPress Playground, this is where you can get up and running with WordPress Playground quickly to [start a new WordPress site](/quick-start-guide#start-a-new-wordpress-site) and [try a block/theme/plugin](/quick-start-guide#try-a-block-a-theme-or-a-plugin) or [test a specific WordPress/PHP version](/quick-start-guide#use-a-specific-wordpress-or-php-version).
7979
8080
- **[Playground web instance](/web-instance)**: Learn more about the Playground instance you get at https://playground.wordpress.net/
8181

packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/intro.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ WordPress Playground é uma ferramenta online onde podes testar e aprender mais
4040
<p class="docs-hubs">A documentação do WordPress Playground está dividida em quatro hubs(subsites):</p>
4141

4242
<!--
43-
- 👉 [**Documentation**](/wordpress-playground/) (you're here) – Introduction to WP Playground, starter guides and your entry point to WP Playground Docs.
44-
- [**Blueprints**](/wordpress-playground/blueprints) – Blueprints are JSON files for setting up your WordPress Playground instance. Learn about their possibilities from the Blueprints docs hub.
45-
- [**Developers**](/wordpress-playground/developers) – WordPress Playground was created as a programmable tool. Discover all the things you can do with it from your code in the Developers docs hub.
46-
- [**API Reference**](/wordpress-playground/api) – All the APIs exposed by WordPress Playground
43+
- 👉 [**Documentation**](/) (you're here) – Introduction to WP Playground, starter guides and your entry point to WP Playground Docs.
44+
- [**Blueprints**](/blueprints) – Blueprints are JSON files for setting up your WordPress Playground instance. Learn about their possibilities from the Blueprints docs hub.
45+
- [**Developers**](/developers) – WordPress Playground was created as a programmable tool. Discover all the things you can do with it from your code in the Developers docs hub.
46+
- [**API Reference**](/api) – All the APIs exposed by WordPress Playground
4747
-->
4848

4949
- 👉 [**Documentação**](/) _(você está aqui)_ – Introdução a WordPress Playground, guia inicial e ponto de entrada para a documentação do WordPress Playuground.
@@ -64,7 +64,7 @@ This docs hub is focused on starting with WordPress Playground and is divided in
6464
Este hub de documentação foca-se em ajudá-lo a começar a trabalhar com o WordPress Playground e está organizado nas seguintes seções:
6565

6666
<!--
67-
- **[Quick Start Guide](/quick-start-guide)**: For those just starting out with WordPress Playground, this is where you can get up and running with WordPress Playground quickly to [start a new WordPress site](/wordpress-playground/quick-start-guide#start-a-new-wordpress-site) and [try a block/theme/plugin](/wordpress-playground/quick-start-guide#try-a-block-a-theme-or-a-plugin) or [test a specific WordPress/PHP version](/wordpress-playground/quick-start-guide#use-a-specific-wordpress-or-php-version).
67+
- **[Quick Start Guide](/quick-start-guide)**: For those just starting out with WordPress Playground, this is where you can get up and running with WordPress Playground quickly to [start a new WordPress site](/quick-start-guide#start-a-new-wordpress-site) and [try a block/theme/plugin](/quick-start-guide#try-a-block-a-theme-or-a-plugin) or [test a specific WordPress/PHP version](/quick-start-guide#use-a-specific-wordpress-or-php-version).
6868
- **[Playground web instance](/web-instance)**: Learn more about the Playground instance you get at https://playground.wordpress.net/
6969
- **[About Playground](/about)**: To learn about WordPress Playground, how safe it is, what you can do with and some of its current limitations, visit this section.
7070
Discover how you can leverage WordPress Playground to [Build](./about/build), [Test](./about/test), and [Launch](./about/launch) your products.

packages/docs/site/i18n/tl/docusaurus-plugin-content-docs/current/main/intro.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Ang Playground ay isang online na tool para subukan at pag-aralan ang WordPress.
1818

1919
<p class="docs-hubs">Ang dokumentasyon ng WordPress Playground ay hinati sa apat na magkakahiwalay na hub (subsite):</p>
2020

21-
- 👉 [**Dokumentasyon**](/wordpress-playground/) (nandoon ka ngayon) – Panimula sa WP Playground, mga gabay para sa panimula, at iyong pasukan sa Dokumentasyon ng WP Playground.
22-
- [**Blueprints**](/wordpress-playground/blueprints) – Ang Blueprints ay mga JSON file para i-setup ang iyong WordPress Playground instance. Alamin ang mga ito sa Blueprint docs hub.
23-
- [**Para sa Developer**](/wordpress-playground/developers) – Ang WordPress Playground ay ginawa bilang isang programmable na tool. Tuklasin ang lahat ng magagawa mo gamit ang code sa Developer docs hub.
24-
- [**API Reference**](/wordpress-playground/api) – Lahat ng API na iniaalok ng WordPress Playground.
21+
- 👉 [**Dokumentasyon**](/) (nandoon ka ngayon) – Panimula sa WP Playground, mga gabay para sa panimula, at iyong pasukan sa Dokumentasyon ng WP Playground.
22+
- [**Blueprints**](/blueprints) – Ang Blueprints ay mga JSON file para i-setup ang iyong WordPress Playground instance. Alamin ang mga ito sa Blueprint docs hub.
23+
- [**Para sa Developer**](/developers) – Ang WordPress Playground ay ginawa bilang isang programmable na tool. Tuklasin ang lahat ng magagawa mo gamit ang code sa Developer docs hub.
24+
- [**API Reference**](/api) – Lahat ng API na iniaalok ng WordPress Playground.
2525

2626
## Pag-navigate sa hub na ito ng dokumentasyon
2727

0 commit comments

Comments
 (0)