Skip to content

Commit

Permalink
Merge branch 'v3-upgrade-guide' into ci/docgen-integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
yanthomasdev authored Aug 30, 2023
2 parents f4be7d2 + 8153981 commit 1cd4da1
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/content/docs/es/install/auto.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Lee nuestra [guía de instalación manual paso a paso](/es/install/manual/) en s

#### Prerrequisitos

- **Node.js** - `v16.12.0` o mayor.
- **Node.js** - `v18.14.1` o mayor.
- **Editor de código** - Recomendamos [VS Code](https://code.visualstudio.com/) con nuestra [extensión oficial de Astro](https://marketplace.visualstudio.com/items?itemName=astro-build.astro-vscode).
- **Terminal** - Astro es usado a través de la interfaz de línea de comandos (CLI).

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/install/manual.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Esta guía te guíara paso a paso para instalar manualmente y configurar un nuev

#### Prerrequisitos

- **Node.js** - `v16.12.0` o mayor.
- **Node.js** - `v18.14.1` o mayor.
- **Editor de código** - Recomendamos [VS Code](https://code.visualstudio.com/) con nuestra [extensión oficial de Astro](https://marketplace.visualstudio.com/items?itemName=astro-build.astro-vscode).
- **Terminal** - Astro es usado a través de la interfaz de línea de comandos (CLI).

Expand Down
8 changes: 4 additions & 4 deletions src/content/docs/es/tutorial/1-setup/1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ Puedes acceder a la línea de comandos a través de un programa de terminal loca

### Node.js

Para que Astro funcione en tu sistema, también necesitarás tener instalado [**Node.js**](https://nodejs.org/en/), versión `v16.12.0` o posterior.
Para que Astro funcione en tu sistema, también necesitarás tener instalado [**Node.js**](https://nodejs.org/en/), versión `v18.14.1` o posterior.

Para comprobar si ya tienes instalada una versión compatible, ejecuta el siguiente comando en tu terminal:

```sh
node -v

// Ejemplo de salida
v16.14.0
v18.14.1
```

Si el comando devuelve un número de versión superior a `v16.12.0`, ¡ya está!
Si el comando devuelve un número de versión superior a `v18.14.1`, ¡ya está!

Si el comando devuelve un mensaje de error como `Command 'node' not found`, o un número de versión inferior a `v16.12.0`, entonces necesitas [instalar una versión compatible de Node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).
Si el comando devuelve un mensaje de error como `Command 'node' not found`, o un número de versión inferior a `v18.14.1`, entonces necesitas [instalar una versión compatible de Node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).

### Editor de código

Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/es/tutorial/5-astro-api/4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Las personas pueden suscribirse a tu feed en un lector de feeds y recibir una no
</Fragment>
</PackageManagerTabs>

## Crear un documento de alimentación `.xml`
## Crear un documento de feed `.xml`

1. Crea un nuevo fichero en `src/pages/` llamado `rss.xml.js`.

Expand All @@ -78,7 +78,7 @@ Las personas pueden suscribirse a tu feed en un lector de feeds y recibir una no

import rss, { pagesGlobToRssItems } from '@astrojs/rss';

export async function get() {
export async function GET() {
return rss({
title: 'Astro alumno | Blog',
description: 'Mi viaje de aprendizaje de Astro',
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ja/install/auto.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Astroをインストールする準備はできましたか?このガイドに

#### 前提条件

- **Node.js** - `v16.12.0` またはそれ以上。
- **Node.js** - `v18.14.1` またはそれ以上。
- **テキストエディタ** - [VS Code](https://code.visualstudio.com/)[公式Astro拡張機能](https://marketplace.visualstudio.com/items?itemName=astro-build.astro-vscode)を推奨します。
- **ターミナル** - Astroは、コマンドラインインターフェイス(CLI)からアクセスします。

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ja/install/manual.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'

#### 前提条件

- **Node.js** - `v16.12.0` またはそれ以上。
- **Node.js** - `v18.14.1` またはそれ以上。
- **テキストエディタ** - [VS Code](https://code.visualstudio.com/)[公式Astro拡張機能](https://marketplace.visualstudio.com/items?itemName=astro-build.astro-vscode)を推奨します。
- **ターミナル** - Astroは、コマンドラインインターフェイス(CLI)からアクセスします。

Expand Down
8 changes: 4 additions & 4 deletions src/content/docs/ja/tutorial/1-setup/1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ Astroプロジェクトを作成し、サイトをビルド、開発、テスト

### Node.js

Astroをシステム上で実行するには、バージョン`v16.12.0`以降の[**Node.js**](https://nodejs.org/ja/)をインストールする必要があります。
Astroをシステム上で実行するには、バージョン`v18.14.1`以降の[**Node.js**](https://nodejs.org/ja/)をインストールする必要があります。

互換性のあるバージョンがインストール済みかどうかを確認するには、ターミナルで次のコマンドを実行します。

```sh
node -v

// 出力例
v16.14.0
v18.14.1
```

コマンドが`v16.12.0`よりも高いバージョン番号を返していれば、問題ありません!
コマンドが`v18.14.1`よりも高いバージョン番号を返していれば、問題ありません!

コマンドが`'node'コマンドが見つかりません`のようなエラーメッセージを返すか、バージョン番号が`v16.12.0`よりも低い場合は、[互換性のあるバージョンのNode.jsのインストール](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)が必要です。
コマンドが`'node'コマンドが見つかりません`のようなエラーメッセージを返すか、バージョン番号が`v18.14.1`よりも低い場合は、[互換性のあるバージョンのNode.jsのインストール](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)が必要です。

### コードエディタ

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ja/tutorial/5-astro-api/4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Astroは、ウェブサイトにRSSフィードを素早く追加するための

import rss, { pagesGlobToRssItems } from '@astrojs/rss';

export async function get() {
export async function GET() {
return rss({
title: 'Astro学習者 | ブログ',
description: 'Astroを学ぶ旅',
Expand Down

0 comments on commit 1cd4da1

Please sign in to comment.