Skip to content

Commit fbd4798

Browse files
fix(docs): resolve 404 links in documentation and fix 404 page
Co-authored-by: yacosta738 <33158051+yacosta738@users.noreply.github.com>
1 parent 973641c commit fbd4798

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

docs/website/src/content/docs/en/404.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hero:
1111
icon: right-arrow
1212
variant: primary
1313
- text: View Documentation
14-
link: guides/getting-started/
14+
link: ../guides/getting-started/
1515
icon: open-book
1616
variant: minimal
1717
---

docs/website/src/content/docs/en/guides/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ make test
4343

4444
## Next Steps
4545

46-
- Explore the [Project Structure](./structure/) to understand how files are organized.
47-
- Check the [Features Checklist](./features/) for available functionalities.
48-
- Learn about standard [Development Procedures](./development/).
46+
- Explore the [Project Structure](../structure/) to understand how files are organized.
47+
- Check the [Features Checklist](../features/) for available functionalities.
48+
- Learn about standard [Development Procedures](../development/).

docs/website/src/content/docs/en/guides/release.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This guide explains how to publish releases and snapshots to Maven Central using
88

99
Before you can publish, ensure you have:
1010

11-
1. **GPG Key configured**: Follow the [GPG Setup Guide](gpg-setup) to create and configure your signing key
11+
1. **GPG Key configured**: Follow the [GPG Setup Guide](../gpg-setup/) to create and configure your signing key
1212
2. **Maven Central access**: Repository secrets configured:
1313
- `SIGNING_IN_MEMORY_KEY`: Your GPG private key
1414
- `SIGNING_IN_MEMORY_KEY_PASSWORD`: GPG key passphrase
@@ -127,6 +127,6 @@ Use this checklist before publishing:
127127

128128
## See Also
129129

130-
- [GPG Setup Guide](gpg-setup)
130+
- [GPG Setup Guide](../gpg-setup/)
131131
- [GitHub Workflows](https://github.com/dallay/starter-gradle/blob/main/.github/workflows/README.md)
132132
- [Contributing Guide](https://github.com/dallay/starter-gradle/blob/main/.github/CONTRIBUTING.md)

docs/website/src/content/docs/es/404.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hero:
1111
icon: right-arrow
1212
variant: primary
1313
- text: Ver Documentación
14-
link: guides/getting-started/
14+
link: ../guides/getting-started/
1515
icon: open-book
1616
variant: minimal
1717
---

docs/website/src/content/docs/es/guides/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ make test
4848

4949
## Siguientes Pasos
5050

51-
- Explora la [Estructura del Proyecto](./structure/) para entender cómo están organizados los archivos.
52-
- Consulta la [Lista de Funcionalidades](./features/) para conocer las capacidades disponibles.
53-
- Aprende sobre los [Procedimientos de Desarrollo](./development/) estándar.
51+
- Explora la [Estructura del Proyecto](../structure/) para entender cómo están organizados los archivos.
52+
- Consulta la [Lista de Funcionalidades](../features/) para conocer las capacidades disponibles.
53+
- Aprende sobre los [Procedimientos de Desarrollo](../development/) estándar.

docs/website/src/content/docs/es/guides/release.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Esta guía explica cómo publicar releases y snapshots en Maven Central usando G
88

99
Antes de poder publicar, asegúrate de tener:
1010

11-
1. **Clave GPG configurada**: Sigue la [Guía de Configuración GPG](gpg-setup) para crear y configurar tu clave de firma
11+
1. **Clave GPG configurada**: Sigue la [Guía de Configuración GPG](../gpg-setup/) para crear y configurar tu clave de firma
1212
2. **Acceso a Maven Central**: Secrets del repositorio configurados:
1313
- `SIGNING_IN_MEMORY_KEY`: Tu clave privada GPG
1414
- `SIGNING_IN_MEMORY_KEY_PASSWORD`: Contraseña de la clave GPG
@@ -127,6 +127,6 @@ Usa este checklist antes de publicar:
127127

128128
## Ver También
129129

130-
- [Guía de Configuración GPG](gpg-setup)
130+
- [Guía de Configuración GPG](../gpg-setup/)
131131
- [GitHub Workflows](https://github.com/dallay/starter-gradle/blob/main/.github/workflows/README.md)
132132
- [Guía de Contribución](https://github.com/dallay/starter-gradle/blob/main/.github/CONTRIBUTING.md)

docs/website/src/pages/404.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const labels = t[locale]
4040
<p class="tagline">{labels.tagline}</p>
4141

4242
<div class="actions">
43-
<a href={`${baseUrl}${locale}/`} class="primary-button">
43+
<a href={`${baseUrl.endsWith('/') ? baseUrl : baseUrl + '/'}${locale}/`} class="primary-button">
4444
<Icon name="right-arrow" />
4545
<span>{labels.home}</span>
4646
</a>
@@ -51,11 +51,11 @@ const labels = t[locale]
5151
</div>
5252

5353
<div class="links-grid">
54-
<a href={`${baseUrl}${locale}/guides/getting-started/`} class="link-card">
54+
<a href={`${baseUrl.endsWith('/') ? baseUrl : baseUrl + '/'}${locale}/guides/getting-started/`} class="link-card">
5555
<Icon name="rocket" />
5656
<span>{labels.gettingStarted}</span>
5757
</a>
58-
<a href={`${baseUrl}${locale}/guides/structure/`} class="link-card">
58+
<a href={`${baseUrl.endsWith('/') ? baseUrl : baseUrl + '/'}${locale}/guides/structure/`} class="link-card">
5959
<Icon name="puzzle" />
6060
<span>{labels.structure}</span>
6161
</a>

0 commit comments

Comments
 (0)