Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/docs/api-files.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: API Files
title: APIファイル
---

Gatsby uses 4 files in the root of your project to configure your site and control its behavior. All of these files are optional.
Gatsby は、プロジェクトのルート下にある 4 つのファイルを使用して、サイトを構成し、その動作を制御します。これらのファイルはすべて無くても構いません。

- [gatsby-config.js](/docs/api-files-gatsby-config) - Enables plugins, defines common site data, and contains other site configuration that integrates with Gatsby's GraphQL data layer.
- [gatsby-browser.js](/docs/api-files-gatsby-browser) - Gives you control over Gatsby's behavior in the browser. For example, responding to a user changing routes, or calling a function when the user first opens any page.
- [gatsby-node.js](/docs/api-files-gatsby-node) - Allows you to respond to events in the Gatsby build cycle. For example, adding pages dynamically, editing GraphQL nodes as they are created, or performing an action after a build is complete.
- [gatsby-ssr.js](/docs/api-files-gatsby-ssr) - Exposes Gatsby's server-side rendering process so you can control how it builds your HTML pages.
- [gatsby-config.js](/docs/api-files-gatsby-config) - プラグインの有効化、一般的なサイトデータの定義、 GatsbyGraphQL データレイヤーに関する他のサイト構成を含みます。
- [gatsby-browser.js](/docs/api-files-gatsby-browser) - ブラウザーでの Gatsby の動作を制御できます。 たとえば、ユーザーがルートを変更したタイミングで割り込んだり、ユーザーが最初にページを開いたときに関数を呼びだすことができます。
- [gatsby-node.js](/docs/api-files-gatsby-node) - Gatsby ビルドサイクルのイベントに反応した処理が書けます。 たとえば、動的なページの追加、作成時に GraphQL ノードを編集、ビルドが完了した後にアクションを実行したりできます。
- [gatsby-ssr.js](/docs/api-files-gatsby-ssr) - Gatsby のサーバーサイドレンダリングプロセスを公開し、 HTML ページの作成方法を制御できるようにします。