> 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/gong-kai/publish-a-docs-site/public-publishing.md).

# 公開公開

ドキュメントを公開向けに作成した場合は、Web 上に公開できます。Web 上に公開したスペースは検索エンジンにインデックスされ、誰でも利用できるようになります。コンテンツを検索エンジンにインデックスされたくない場合は、それも無効にできます — 詳しくはこちら [の下](#publish-as-public).

どのようにコンテンツを公開しても、誰が *編集する* あなたのコンテンツです。また、公開されるのは主要コンテンツブランチのみなので、いかなる [変更リクエスト](/docs/documentation/ja-gitbook-documentation/gong-tong-zuo-ye/change-requests.md) はマージされるまで非公開のままです。

### パブリックとして公開

ドキュメントを Web 上で公開するには、公開したいドキュメントサイトに移動し、 **公開** ボタンをクリックして、 **公開** オプションを選択します。

### **検索エンジンのインデックス化なしで公開**

デフォルトでは、サイトは検索エンジンにインデックスされます。代わりにこれを無効にすることもできます。つまり、ドキュメントは Web 上の誰もが引き続き利用できますが、 *されません* Google などの検索エンジンにインデックスされません。

ドキュメントへのリンクを持っている人なら誰でも引き続きアクセスできます。インデックスされないドキュメントサイトは、ドキュメントのベータ版を公開したい場合や、重複コンテンツによって SEO に影響を与えることなく大規模なユーザーテストを行いたい場合に特に役立ちます。

### ページ単位の検索インデックス制御

個々のページ単位でも検索インデックスを制御できます。GitBook には 2 種類の検索インデックス制御があります：

#### 内部検索インデックス

ページが GitBook の内部検索エンジンと Ask AI 機能にインデックスされるかどうかを制御します。これは次に影響します：

* GitBook セクション内のコンテンツ検索
* Ask AI がページ内容を参照する能力

**外部検索インデックス（Web クローラー）**

検索エンジンや Web クローラー（Google、ChatGPT など）がページをインデックスできるかどうかを制御します。これは次に影響します：

* 検索エンジンを通じた SEO と発見可能性
* Web クローラーによるコンテンツへのアクセス

#### **階層的な継承の動作**

**検索インデックス設定は階層的な継承パターンに従います：**

* **親ページの制御**：親ページで検索インデックスを無効にすると、その下のすべてのサブページのインデックスも自動的に無効になります。
* **子ページは上書きできません**：親ページで無効になっている場合、サブページで検索インデックスを再度有効にすることはできません。
* **連鎖的な効果**：これによりページ階層全体に連鎖的な効果が生まれます。最上位ページでインデックスを無効にすると、そのセクション全体で無効になります。

この階層的な動作により、関連するコンテンツセクション全体で一貫したインデックス方針が確保され、セクション内で非公開にしておくべきコンテンツが誤って公開されるのを防げます。

{% hint style="info" %}
この機能は次のプランで利用できます [Premium および Ultimate サイトプラン](https://www.gitbook.com/pricing).
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/gong-kai/publish-a-docs-site/public-publishing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
