Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit a006151

Browse files
authored
Merge pull request #77 from hoshikitsunoda/docs/themes/getting-started
Translation: docs/themes/getting-started
2 parents cd2e602 + 534f962 commit a006151

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/docs/themes/getting-started.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
---
2-
title: Getting Started with Gatsby Themes
2+
title: Gatsby テーマの使い方
33
---
44

5-
The quickest way to get started using a Gatsby theme is to use a starter that's configured to use the theme.
5+
あらかじめテーマが設定されているスターターを使うことで、Gatsby テーマをすぐに使い始めることができます。
66

7-
For example, `gatsby-starter-blog-theme` is a theme starter for the `gatsby-theme-blog` package.
7+
例えば、`gatsby-starter-blog-theme` `gatsby-theme-blog` パッケージのテーマスターターです。
88

9-
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.
9+
**通常の Gatsby スターター**は特定の用途に合わせて設定してある Gatsby サイトを新規に作成します。出来上がったサイトはスターターからフォークされるため、スターターへの接続は維持されません。
1010

11-
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.
11+
**Gatsby テーマスターター**Gatsby テーマが 1 つ以上インストールされた Gatsby サイトを新規に作成します。スターターがテーマをインストールする際、スタンドアローンの npm パッケージとしてテーマへの接続が維持されます。
1212

13-
Installing the Gatsby blog theme starter is the same process as a regular Gatsby starter:
13+
Gatsby ブログテーマスターターのインストール手順は通常の Gatsby スターターと同様です。
1414

1515
```shell
1616
gatsby new my-blog https://github.com/gatsbyjs/gatsby-starter-blog-theme
1717
```
1818

19-
## What does a theme starter do?
19+
## テーマスターターは何をする?
2020

21-
The starter for the official Gatsby blog theme does the following:
21+
公式の Gatsby ブログテーマ用スターターは以下を実行します。
2222

23-
### 1. The starter installs the theme and configures it
23+
### 1. テーマをインストールし設定する
2424

25-
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:
25+
テーマを使用して作られたスターターの `gatsby-config.js` は最初軽く見えることが多くあります。テーマは `plugins` 配列からインストールされたときに真価を発揮します。
2626

2727
```javascript:title=gatsby-config.js
2828
module.exports = {
@@ -32,7 +32,7 @@ module.exports = {
3232
options: {},
3333
},
3434
],
35-
// Customize your site metadata:
35+
// 自サイトのメタデータをカスタマイズ:
3636
siteMetadata: {
3737
title: "My Blog Title",
3838
author: "My Name",
@@ -52,7 +52,7 @@ module.exports = {
5252
}
5353
```
5454

55-
### 2. The starter scaffolds out example blog posts.
55+
### 2. サンプルのブログ記事を組み立てる
5656

5757
```mdx:title=/content/posts/hello-world.mdx
5858
---
@@ -63,10 +63,10 @@ path: /hello-world
6363
I'm an example post!
6464
```
6565

66-
Once you've made some edits, run `gatsby develop` to start a development server and view your changes in a browser.
66+
ファイルに変更を加えたら、`gatsby develop` を実行して開発サーバーを起動し、変更された箇所をブラウザーで見てみましょう。
6767

68-
## Updating a theme
68+
## テーマをアップデートする
6969

70-
To pull in the latest updates of your theme you can update the `gatsby-theme-blog` version in your site's `package.json`.
70+
自分のサイトの `package.json` 内にある `gatsby-theme-blog` のバージョンをアップデートすることで、テーマを最新のものにできます。
7171

72-
You can do this by running the install of the theme package again: `npm install --save gatsby-theme-blog`.
72+
`npm install --save gatsby-theme-blog`を再度実行することによりアップデートが行なえます。

0 commit comments

Comments
 (0)