Repository navigation
Conversation
|
✅ Deploy Preview for astro-starlight ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
| ¿Curioso por saber cómo se comparan otros frameworks de documentación? | ||
| Estas pruebas con el [Website Carbon Calculator][wcc] comparan páginas similares construidas con diferentes herramientas. | ||
|
|
||
| import CarbonComparison from '../../../components/carbon-comparison.astro'; |
There was a problem hiding this comment.
To keep the code consistent with the English version
There was a problem hiding this comment.
Thanks for the review! Unlike the English file which is at docs/src/content/docs/environmental-impact.mdx (2 levels down from src/), the localized files live under a language folder (docs/src/content/docs/es/..., 3 levels down). Therefore, ../../../components/carbon-comparison.astro is required for Vite to properly resolve the component path, matching how it is imported in other languages like de, fr, ru, and zh-cn.
There was a problem hiding this comment.
Ohh! You're right, there isn't /en/ folder like in docs project, my bad
|
LGTM! |

Description
environmental-impact.mdto.mdxfor the Spanish documentation with changes from Use component to display carbon comparisons in environmental impact page #3842.