From 872926a4953b4cd146eaa7d402b2b96e8f0d59a3 Mon Sep 17 00:00:00 2001 From: Shinya Fujino Date: Tue, 29 Aug 2023 18:03:46 +0900 Subject: [PATCH] i18n(ja): Update tutorial for v3 --- src/content/docs/ja/tutorial/1-setup/1.mdx | 8 ++++---- src/content/docs/ja/tutorial/5-astro-api/4.mdx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/content/docs/ja/tutorial/1-setup/1.mdx b/src/content/docs/ja/tutorial/1-setup/1.mdx index 0260336462259..c679227efcee6 100644 --- a/src/content/docs/ja/tutorial/1-setup/1.mdx +++ b/src/content/docs/ja/tutorial/1-setup/1.mdx @@ -29,7 +29,7 @@ Astroプロジェクトを作成し、サイトをビルド、開発、テスト ### Node.js -Astroをシステム上で実行するには、バージョン`v16.12.0`以降の[**Node.js**](https://nodejs.org/ja/)をインストールする必要があります。 +Astroをシステム上で実行するには、バージョン`v18.14.1`以降の[**Node.js**](https://nodejs.org/ja/)をインストールする必要があります。 互換性のあるバージョンがインストール済みかどうかを確認するには、ターミナルで次のコマンドを実行します。 @@ -37,12 +37,12 @@ Astroをシステム上で実行するには、バージョン`v16.12.0`以降 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)が必要です。 ### コードエディタ diff --git a/src/content/docs/ja/tutorial/5-astro-api/4.mdx b/src/content/docs/ja/tutorial/5-astro-api/4.mdx index b052e64f8e80f..45437fc3aafb8 100644 --- a/src/content/docs/ja/tutorial/5-astro-api/4.mdx +++ b/src/content/docs/ja/tutorial/5-astro-api/4.mdx @@ -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を学ぶ旅',