From e1b2a704c33109107187360b8eed563ed707eba9 Mon Sep 17 00:00:00 2001 From: seiki tsunoda Date: Fri, 17 Jan 2020 11:23:29 -0800 Subject: [PATCH 1/8] translated themes/getting-started --- docs/docs/themes/getting-started.md | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/docs/themes/getting-started.md b/docs/docs/themes/getting-started.md index f96970732..6032abf7f 100644 --- a/docs/docs/themes/getting-started.md +++ b/docs/docs/themes/getting-started.md @@ -1,28 +1,28 @@ --- -title: Getting Started with Gatsby Themes +title: Gatsbyテーマの使い方 --- -The quickest way to get started using a Gatsby theme is to use a starter that's configured to use the theme. +あらかじめテーマ環境が設定されているスターターを使うことで、Gatsby テーマを直ちに使うことができます。 -For example, `gatsby-starter-blog-theme` is a theme starter for the `gatsby-theme-blog` package. +例えば、`gatsby-starter-blog-theme`は`gatsby-theme-blog`パッケージのテーマスターターです。 -A **regular Gatsby starter** creates a new Gatsby site that is preconfigured for a particular use case. The resulting site effectively forks off the starter — after it’s created, the site maintains no connection to the starter. +**通常の Gatsby スターター**は特定の用途に合わせて設定してある Gatsby サイトを新規に作成します。出来上がったサイトはスターターからフォークされるため、スターターへの接続は維持されません。 -A **Gatsby theme starter** creates a new Gatsby site that installs and configures one or more Gatsby themes. When a starter installs a theme, it maintains the connection to that theme as a standalone npm package. +**Gatsby テーマスターター**は Gatsby テーマが 1 つ以上インストールされた Gatsby サイトを新規に作成します。スターターがテーマをインストールする際、スタンドアローンの npm パッケージとしてテーマへの接続が維持されます。 -Installing the Gatsby blog theme starter is the same process as a regular Gatsby starter: +Gatsby ブログテーマスターターのインストール手順は通常の Gatsby スターターと同様です。: ```shell gatsby new my-blog https://github.com/gatsbyjs/gatsby-starter-blog-theme ``` -## What does a theme starter do? +## テーマスターターは何をする? -The starter for the official Gatsby blog theme does the following: +公式の Gatsby ブログテーマ用スターターは以下を実行します。: -### 1. The starter installs the theme and configures it +### 1. テーマをインストールし設定する -When you use a starter that's built with a theme, you will often see that you're initially presented with a lighter weight `gatsby-config.js`. Themes start doing their magic when installed via the `plugins` array: +テーマを使用して作られたスターターの`gatsby-config.js`は最初軽く見えることが多くあります。テーマはプラグイン配列からインストールされたときに真価を発揮します。 ```javascript:title=gatsby-config.js module.exports = { @@ -32,7 +32,7 @@ module.exports = { options: {}, }, ], - // Customize your site metadata: + // 自サイトのメタデータをカスタマイズ: siteMetadata: { title: "My Blog Title", author: "My Name", @@ -52,7 +52,7 @@ module.exports = { } ``` -### 2. The starter scaffolds out example blog posts. +### 2. サンプルのブログ記事を組み立てる ```mdx:title=/content/posts/hello-world.mdx --- @@ -63,10 +63,10 @@ path: /hello-world I'm an example post! ``` -Once you've made some edits, run `gatsby develop` to start a development server and view your changes in a browser. +ファイルに変更を加えたら、`gatsby develop`を入力して開発サーバーを起動し、変更された箇所をブラウザーで見てみましょう。 -## Updating a theme +## テーマをアップデートする -To pull in the latest updates of your theme you can update the `gatsby-theme-blog` version in your site's `package.json`. +自分のサイトの`package.json`内にある`gatsby-theme-blog`のバージョンをアップデートすることで、テーマを最新のものにできます。 -You can do this by running the install of the theme package again: `npm install --save gatsby-theme-blog`. +`npm install --save gatsby-theme-blog`を再度実行することによりアップデートが行なえます。 From a20b25f59edf8441708e211f75f4e3bd83f1d86a Mon Sep 17 00:00:00 2001 From: seiki tsunoda Date: Sat, 18 Jan 2020 21:40:10 -0800 Subject: [PATCH 2/8] removed colons --- docs/docs/themes/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/themes/getting-started.md b/docs/docs/themes/getting-started.md index 6032abf7f..1980e551d 100644 --- a/docs/docs/themes/getting-started.md +++ b/docs/docs/themes/getting-started.md @@ -10,7 +10,7 @@ title: Gatsbyテーマの使い方 **Gatsby テーマスターター**は Gatsby テーマが 1 つ以上インストールされた Gatsby サイトを新規に作成します。スターターがテーマをインストールする際、スタンドアローンの npm パッケージとしてテーマへの接続が維持されます。 -Gatsby ブログテーマスターターのインストール手順は通常の Gatsby スターターと同様です。: +Gatsby ブログテーマスターターのインストール手順は通常の Gatsby スターターと同様です。 ```shell gatsby new my-blog https://github.com/gatsbyjs/gatsby-starter-blog-theme @@ -18,7 +18,7 @@ gatsby new my-blog https://github.com/gatsbyjs/gatsby-starter-blog-theme ## テーマスターターは何をする? -公式の Gatsby ブログテーマ用スターターは以下を実行します。: +公式の Gatsby ブログテーマ用スターターは以下を実行します。 ### 1. テーマをインストールし設定する From 8636ae25375a8ce9aa85d0c9464d55853a7080bc Mon Sep 17 00:00:00 2001 From: seiki tsunoda Date: Sat, 25 Jan 2020 23:10:38 -0800 Subject: [PATCH 3/8] added spacing before backtick --- docs/docs/themes/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/themes/getting-started.md b/docs/docs/themes/getting-started.md index 1980e551d..440991289 100644 --- a/docs/docs/themes/getting-started.md +++ b/docs/docs/themes/getting-started.md @@ -4,7 +4,7 @@ title: Gatsbyテーマの使い方 あらかじめテーマ環境が設定されているスターターを使うことで、Gatsby テーマを直ちに使うことができます。 -例えば、`gatsby-starter-blog-theme`は`gatsby-theme-blog`パッケージのテーマスターターです。 +例えば、`gatsby-starter-blog-theme`は `gatsby-theme-blog` パッケージのテーマスターターです。 **通常の Gatsby スターター**は特定の用途に合わせて設定してある Gatsby サイトを新規に作成します。出来上がったサイトはスターターからフォークされるため、スターターへの接続は維持されません。 @@ -22,7 +22,7 @@ gatsby new my-blog https://github.com/gatsbyjs/gatsby-starter-blog-theme ### 1. テーマをインストールし設定する -テーマを使用して作られたスターターの`gatsby-config.js`は最初軽く見えることが多くあります。テーマはプラグイン配列からインストールされたときに真価を発揮します。 +テーマを使用して作られたスターターの `gatsby-config.js` は最初軽く見えることが多くあります。テーマは `plugins` 配列からインストールされたときに真価を発揮します。 ```javascript:title=gatsby-config.js module.exports = { @@ -67,6 +67,6 @@ I'm an example post! ## テーマをアップデートする -自分のサイトの`package.json`内にある`gatsby-theme-blog`のバージョンをアップデートすることで、テーマを最新のものにできます。 +自分のサイトの `package.json` 内にある `gatsby-theme-blog` のバージョンをアップデートすることで、テーマを最新のものにできます。 `npm install --save gatsby-theme-blog`を再度実行することによりアップデートが行なえます。 From 0ac997e5965074fa276a184a6f562b155b532d47 Mon Sep 17 00:00:00 2001 From: Hosh'ki Tsunoda Date: Sun, 26 Jan 2020 20:56:23 -0800 Subject: [PATCH 4/8] Update docs/docs/themes/getting-started.md Co-Authored-By: Yasuaki Uechi --- docs/docs/themes/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/themes/getting-started.md b/docs/docs/themes/getting-started.md index 440991289..a6da62dc2 100644 --- a/docs/docs/themes/getting-started.md +++ b/docs/docs/themes/getting-started.md @@ -2,7 +2,7 @@ title: Gatsbyテーマの使い方 --- -あらかじめテーマ環境が設定されているスターターを使うことで、Gatsby テーマを直ちに使うことができます。 +あらかじめテーマが設定されているスターターを使うことで、Gatsby テーマをすぐに使い始めることができます。 例えば、`gatsby-starter-blog-theme`は `gatsby-theme-blog` パッケージのテーマスターターです。 From 2c525b63c5eb2852cfbec50d963f33401f6eee08 Mon Sep 17 00:00:00 2001 From: Hosh'ki Tsunoda Date: Sun, 26 Jan 2020 20:56:35 -0800 Subject: [PATCH 5/8] Update docs/docs/themes/getting-started.md Co-Authored-By: Yasuaki Uechi --- docs/docs/themes/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/themes/getting-started.md b/docs/docs/themes/getting-started.md index a6da62dc2..4c624bbc6 100644 --- a/docs/docs/themes/getting-started.md +++ b/docs/docs/themes/getting-started.md @@ -63,7 +63,7 @@ path: /hello-world I'm an example post! ``` -ファイルに変更を加えたら、`gatsby develop`を入力して開発サーバーを起動し、変更された箇所をブラウザーで見てみましょう。 +ファイルに変更を加えたら、`gatsby develop`を実行して開発サーバーを起動し、変更された箇所をブラウザーで見てみましょう。 ## テーマをアップデートする From db19c3880d6ff89958df512e9842e39f202469f0 Mon Sep 17 00:00:00 2001 From: Hosh'ki Tsunoda Date: Tue, 28 Jan 2020 02:44:31 -0800 Subject: [PATCH 6/8] Update docs/docs/themes/getting-started.md Co-Authored-By: Hirotaka Mizutani --- docs/docs/themes/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/themes/getting-started.md b/docs/docs/themes/getting-started.md index 4c624bbc6..1a652a235 100644 --- a/docs/docs/themes/getting-started.md +++ b/docs/docs/themes/getting-started.md @@ -1,5 +1,5 @@ --- -title: Gatsbyテーマの使い方 +title: Gatsby テーマの使い方 --- あらかじめテーマが設定されているスターターを使うことで、Gatsby テーマをすぐに使い始めることができます。 From 5ec8cc383d2bda92d070c53c12899bfbe5c4162d Mon Sep 17 00:00:00 2001 From: Hosh'ki Tsunoda Date: Tue, 28 Jan 2020 02:44:52 -0800 Subject: [PATCH 7/8] Update docs/docs/themes/getting-started.md Co-Authored-By: Hirotaka Mizutani --- docs/docs/themes/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/themes/getting-started.md b/docs/docs/themes/getting-started.md index 1a652a235..980e61e7e 100644 --- a/docs/docs/themes/getting-started.md +++ b/docs/docs/themes/getting-started.md @@ -4,7 +4,7 @@ title: Gatsby テーマの使い方 あらかじめテーマが設定されているスターターを使うことで、Gatsby テーマをすぐに使い始めることができます。 -例えば、`gatsby-starter-blog-theme`は `gatsby-theme-blog` パッケージのテーマスターターです。 +例えば、`gatsby-starter-blog-theme` は `gatsby-theme-blog` パッケージのテーマスターターです。 **通常の Gatsby スターター**は特定の用途に合わせて設定してある Gatsby サイトを新規に作成します。出来上がったサイトはスターターからフォークされるため、スターターへの接続は維持されません。 From 534f96289162ed77c0406b0bc06271273c17a47a Mon Sep 17 00:00:00 2001 From: Hosh'ki Tsunoda Date: Tue, 28 Jan 2020 02:45:03 -0800 Subject: [PATCH 8/8] Update docs/docs/themes/getting-started.md Co-Authored-By: Hirotaka Mizutani --- docs/docs/themes/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/themes/getting-started.md b/docs/docs/themes/getting-started.md index 980e61e7e..142fed460 100644 --- a/docs/docs/themes/getting-started.md +++ b/docs/docs/themes/getting-started.md @@ -63,7 +63,7 @@ path: /hello-world I'm an example post! ``` -ファイルに変更を加えたら、`gatsby develop`を実行して開発サーバーを起動し、変更された箇所をブラウザーで見てみましょう。 +ファイルに変更を加えたら、`gatsby develop` を実行して開発サーバーを起動し、変更された箇所をブラウザーで見てみましょう。 ## テーマをアップデートする