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

Commit f1bf77b

Browse files
authored
translate /docs/recipes/working-with-themes (#118)
translate /docs/recipes/working-with-themes
2 parents d62a64d + 0e7e0af commit f1bf77b

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed
Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,64 @@
11
---
2-
title: "Recipes: Working with Themes"
2+
title: "レシピ集: テーマを使用する"
33
---
44

5-
A [Gatsby theme](/docs/themes/what-are-gatsby-themes) abstracts Gatsby configuration (shared functionality, data sourcing, design) into an installable package. This means that the configuration and functionality isn’t directly written into your project, but rather versioned, centrally managed, and installed as a dependency. You can seamlessly update a theme, compose themes together, and even swap out one compatible theme for another.
5+
[Gatsby テーマ](/docs/themes/what-are-gatsby-themes)Gatsby を構成するもの(共有の機能、データの取得、デザイン)をインストール可能なパッケージとして抽象化したものです。つまり、テーマの設定や機能は直接あなたのプロジェクト内に書かれるのではなく、一元的にバージョン管理された依存パッケージという形でインストールされるということです。テーマをシームレスに更新したり、まとめて作成したり、あるいは互換性のあるテーマを別のものに交換したりすることもできます。
66

7-
## Creating a new site using a theme starter
7+
## テーマスターターを使用して新しくサイトを作成する
88

9-
Creating a site based on a starter that configures a theme follows the same process as creating a site based on a starter that **doesn't** configure a theme. In this example you can use the [starter for creating a new site that uses the official Gatsby blog theme](https://github.com/gatsbyjs/gatsby-starter-blog-theme).
9+
テーマを利用するスターターでサイトを作る手順は、テーマを**利用しない**スターターでサイトを作る手順と同じです。今回の例では [Gatsby 公式ブログのテーマから新しいサイトを作成するスターター](https://github.com/gatsbyjs/gatsby-starter-blog-theme)を使います。
1010

11-
### Prerequisites
11+
### 前提条件
1212

13-
- The [Gatsby CLI](/docs/gatsby-cli) installed
13+
- [Gatsby CLI](/docs/gatsby-cli) がインストールされていること。
1414

15-
### Directions
15+
### 進め方
1616

17-
1. Generate a new site based on the blog theme starter:
17+
1. ブログテーマスターターを元に新しいサイトを作成します。
1818

1919
```shell
2020
gatsby new {your-project-name} https://github.com/gatsbyjs/gatsby-starter-blog-theme
2121
```
2222

23-
2. Run your new site:
23+
2. サイトを立ち上げます。
2424

2525
```shell
2626
cd {your-project-name}
2727
gatsby develop
2828
```
2929

30-
### Additional resources
30+
### 追加の資料
3131

32-
- Learn how to use an existing Gatsby theme in the [shorter conceptual guide](/docs/themes/using-a-gatsby-theme) or the more detailed [step-by-step tutorial](/tutorial/using-a-theme).
32+
- [基本的なガイド](/docs/themes/using-a-gatsby-theme)、またはより詳しい[ステップ・バイ・ステップで行うチュートリアル](/tutorial/using-a-theme)にて既存の Gatsby テーマの使い方を学ぶことができます。
3333

34-
## Building a new theme
34+
## 新しくテーマを作成する
3535

3636
<EggheadEmbed
3737
lessonLink="https://egghead.io/lessons/gatsby-use-the-gatsby-theme-workspace-starter-to-begin-building-a-new-theme"
3838
lessonTitle="Use the Gatsby Theme Workspace Starter to Begin Building a New Theme"
3939
/>
4040

41-
### Prerequisites
41+
### 前提条件
4242

43-
- The [Gatsby CLI](/docs/gatsby-cli) installed
44-
- [Yarn](https://yarnpkg.com/lang/en/docs/install/#mac-stable) installed
43+
- [Gatsby CLI](/docs/gatsby-cli) がインストールされていること。
44+
- [Yarn](https://yarnpkg.com/ja/docs/install#mac-stable) がインストールされていること。
4545

46-
### Directions
46+
### 進め方
4747

48-
1. Generate a new theme workspace using the [Gatsby theme workspace starter](https://github.com/gatsbyjs/gatsby-starter-theme-workspace):
48+
1. [Gatsby テーマワークスペーススターター](https://github.com/gatsbyjs/gatsby-starter-theme-workspace)を利用して新しいテーマワークスペースを作成します。
4949

5050
```shell
5151
gatsby new {your-project-name} https://github.com/gatsbyjs/gatsby-starter-theme-workspace
5252
```
5353

54-
2. Run the example site in the workspace:
54+
2. ワークスペース内でサンプルサイトを立ち上げます。
5555

5656
```shell
5757
yarn workspace example develop
5858
```
5959

60-
### Additional resources
60+
### 追加の資料
6161

62-
- Follow a [more detailed guide](/docs/themes/building-themes/) on using the Gatsby theme workspace starter.
63-
- Learn how to build your own theme in the [Gatsby Theme Authoring video course on Egghead](https://egghead.io/courses/gatsby-theme-authoring), or in the [video course's complementary written tutorial companion](/tutorial/building-a-theme).
62+
- Gatsby テーマワークスペーススターターの使い方については[より詳しいガイド](/docs/themes/building-themes/)をご覧ください。
63+
- [Egghead のテーマ開発動画コース](https://egghead.io/courses/gatsby-theme-authoring)
64+
または[動画に沿った形でより補足的に詳しく書かれたチュートリアル](/tutorial/building-a-theme)にて、独自のテーマの作り方を学ぶことができます。

0 commit comments

Comments
 (0)