> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/manage-your-site/customization/extra-configuration.md). Agents can also search and read this documentation through its [MCP server](https://gitbook.com/docs/~gitbook/mcp).

# 追加設定

公開ドキュメントの追加オプションを設定します

［ **設定** ］タブでは、サイトに関連するその他の設定を変更できます。たとえば、インターフェースのローカライズ、リンクの動作、ユーザーがコンテンツをChatGPTなどのAIツールに追加するのに役立つページアクションを設定できます。

このページでは、これらの各オプションが何をするのか、また有効化・無効化する方法を学べます。

### ユーザーインターフェースをローカライズ

公開コンテンツのユーザーインターフェースをローカライズするために、言語の一覧から選択できます。これにより、カスタムしていないインターフェース部分に翻訳が適用されます。

この設定では、実際のコンテンツが *自動翻訳されることは* ありませんが、インターフェースを執筆に使用している言語に合わせることができます。コンテンツの翻訳について詳しくは、 [翻訳](https://gitbook.com/docs/documentation/ja-gitbook-documentation/gitbook-jento/translations.md) セクションをご覧ください。

まだ対応していない言語で、追加してほしいものはありますか？ [ぜひお知らせください](https://github.com/GitbookIO/gitbook/issues)。または、 [ご自身で翻訳にご協力ください](https://www.gitbook.com/solutions/open-source)!

### 主要リンク

［ **メインリンク** ］セクションでは、 **設定** タブから、ドキュメントサイトの左上にあるロゴにカスタムURLを設定できます。

既定では、ロゴまたはサイトタイトルをクリックすると、ユーザーはドキュメントサイトの最初のページに戻ります。代わりに、サイト外のカスタムURL、またはサイト内のページ・セクション・バリアントを開くように設定できます。ドキュメントがより大きなWebサイトの一部である場合、訪問者が自分のランディングページへ戻るのに役立ちます。

### 外部リンク

［ **外部リンク** ］セクションでは、 **設定** タブから、サイトのユーザーが外部URLへのリンクをクリックしたときの動作を設定できます。デフォルトでは、リンクは同じタブで開きますが、必要に応じて新しいタブで開くように変更できます。

### ページアクション

ページアクションは、ドキュメントの各ページにページ単位のドロップダウンを追加し、ユーザーがページ内コンテンツに対して素早い操作を行えるようにします。AIプロンプト内でドキュメントのコンテンツを文脈として使う場合に最適です。

このオプションは、次の場所で無効にできます。 **設定** 公開ドキュメントにページアクションを表示したくない場合は、タブを開いてください。

無効にすると **ページアクション**すると、GitBook は次の MCP サーバーも無効にします： `~gitbook/mcp`。MCP を使用するには、 **ページアクション** を有効にしたままにし、 **MCP サーバーに接続** の **有効なアクション**.

<figure><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-6f9e674f248401e7617b03971eeb7e2f46358f50%2F25_12_10_configure%402x.png?alt=media" alt=""><figcaption></figcaption></figure>

#### 適応型コンテンツでページアクションを制御する

適応型コンテンツが有効な場合、 **アシスタントを開く** を除く有効なすべてのページアクションには、 **サイトオーディエンス** オプションがあります。

* **デフォルト** では、すべての訪問者にアクションが表示されます。
* **条件付き** では、訪問者が適応型コンテンツの条件に一致した場合にのみ表示されます。

たとえば、 **GitHub/GitLabで編集** を社内の訪問者にのみ表示するには、次のようにします。

```javascript
visitor.claims.isInternal === true
```

条件が設定されたアクションの横には、GitBookで条件アイコンが表示されます。カスタマイズプレビューで訪問者セグメントを選択すると、そのセグメントに表示されるアクションを確認できます。

#### AIプロバイダーで開く

このオプションを有効にすると、ページ内容を使って ChatGPT または Claude を開くアクションを表示できます。

#### Markdownとしてコピー／表示

このオプションを有効にすると、ページを Markdown としてコピーまたは表示するアクションを表示できます。

#### MCPサーバーに接続

このアクションを **有効なアクション** に追加すると、サイトの MCP サーバーが有効になり、ページアクションメニューにリンクが表示されます。

MCP サーバーは、このアクションが **有効なアクション**にある間のみ動作します。これを **利用可能なアクション**, `~gitbook/mcp` は `404`を返します。詳しくは、 [公開ドキュメント用の MCP サーバー](https://gitbook.com/docs/documentation/ja-gitbook-documentation/ai-for-your-readers/mcp-servers-for-published-docs.md).

#### GitHub/GitLabで編集

セクションがGitリポジトリに接続されている場合、 **設定** タブでこのオプションを有効にすると、リンク先のリポジトリからドキュメントに貢献するためのリンクをユーザーに表示できます。

#### PDFをエクスポート

このオプションを有効にすると、訪問者はドキュメントを [PDFとしてエクスポート](https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/pdf-export.md) できます。

### プライバシーポリシー

［ **プライバシーポリシー** ］セクションでは、 **設定** タブから独自のプライバシーポリシーへのリンクを設定できます。これにより、GitBookコンテンツでのCookieの使用方法や、プライバシーの保護方法を訪問者に伝えることができます。設定しない場合、サイトではデフォルトで [GitBookのプライバシーポリシー](https://gitbook.com/docs/policies/privacy-and-security/statement/cookies).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/manage-your-site/customization/extra-configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
