> 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.md).

# ドキュメントサイトを公開

コンテンツの作成、編集、またはインポートが終わったら、選択した対象読者に向けて公開してください。

docs サイトのコンテンツはその中にあります [セクション](/docs/documentation/ja-gitbook-documentation/saitowo/site-structure.md)。編集する構造が、訪問者に提供される構造です。新しいセクションは下書きとして始まるため、公開済みサイトに表示する内容を管理できます。

<figure><img src="/files/817aea365a7353ef56d0f177b3af6b5f0395b213" alt="A GitBook screenshot showing the organization Home"><figcaption><p>組織のホーム。</p></figcaption></figure>

### docsサイトを作成

docsサイトを作成するには:

1. 組織から **ホーム**、 **+** の横にあるアイコン **サイト**.
2. 訪問者が認識しやすい名前を入力します。
3. クリックして **作成**.
4. 開始点を選択します: ドキュメントテンプレート、インポート、OpenAPI仕様、空のセクション、またはGit Sync。

完全なセットアップ手順については、次を参照してください: [クイックスタート](/docs/documentation/ja-gitbook-documentation/getting-started/quickstart.md).

{% hint style="info" %}
サイトの権限は次で管理できます **設定** → **メンバー**。これにより、組織設定とは独立して、各サイトを閲覧または編集できるユーザーを管理できます。詳細は [ロール](/docs/documentation/ja-gitbook-documentation/koraborshon/member-management/roles.md) をご覧ください。
{% endhint %}

### docsサイトを公開する

サイトを公開するには:

1. 組織から **ホーム**、サイトを開きます。
2. クリックして **公開** サイトのヘッダー内で。

サイトはデフォルトで公開されています。サイトの表示設定は **設定** → **対象**。詳細は [サイト設定](/docs/documentation/ja-gitbook-documentation/saitowo/site-settings.md).

次の対象読者オプションのいずれかを選択してください:

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="image">カバー画像</th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-type="image">カバー画像（ダーク）</th><th data-hidden data-type="image">カバー画像（ダーク）</th><th data-hidden data-card-cover-dark data-type="image">カバー画像（ダーク）</th></tr></thead><tbody><tr><td><strong>公開</strong></td><td>docsをウェブ上に公開します。</td><td></td><td><a href="/files/cb1971059239661bb65858a90ab89725696d5b92">/files/cb1971059239661bb65858a90ab89725696d5b92</a></td><td><a href="/pages/c5c354d06ca0a289769924b65c272164f0ececa6">/pages/c5c354d06ca0a289769924b65c272164f0ececa6</a></td><td><a href="/files/9648ee6466f25a7e326409a9dcc83703938e6417">/files/9648ee6466f25a7e326409a9dcc83703938e6417</a></td><td></td><td><a href="/files/9648ee6466f25a7e326409a9dcc83703938e6417">/files/9648ee6466f25a7e326409a9dcc83703938e6417</a></td></tr><tr><td><strong>共有リンクで非公開にする</strong></td><td>docsを非公開の共有リンクで公開します。</td><td></td><td><a href="/files/84e35681c21d6d4d7db823138ee01649d69cce02">/files/84e35681c21d6d4d7db823138ee01649d69cce02</a></td><td><a href="/pages/57b7d007114295d97769745a2817beca8d929c0a">/pages/57b7d007114295d97769745a2817beca8d929c0a</a></td><td></td><td><a href="/files/66d5fddc58cf27ee8274f19b177f4ca41c99cd4f">/files/66d5fddc58cf27ee8274f19b177f4ca41c99cd4f</a></td><td><a href="/files/53edd0b34c5b80c53d073f26f68d6dced83e2118">/files/53edd0b34c5b80c53d073f26f68d6dced83e2118</a></td></tr><tr><td><strong>認証済みアクセス</strong></td><td>公開済みdocsをOAuthサインインで保護します。</td><td></td><td><a href="/files/7361e1134d4303679e584fb16ddb918f8b059bf0">/files/7361e1134d4303679e584fb16ddb918f8b059bf0</a></td><td><a href="/pages/cf533be56f0519f78f90095264d1f06ed6678c1d">/pages/cf533be56f0519f78f90095264d1f06ed6678c1d</a></td><td></td><td></td><td><a href="/files/89d955937f6003946e0758773795b48b45e417d4">/files/89d955937f6003946e0758773795b48b45e417d4</a></td></tr></tbody></table>

### サイトをプレビュー

クリックして **プレビュー** サイトのヘッダー内で、訪問者に表示されるとおりの内容を確認できます。サイトを公開する前でも、変更作業中でも使えます。コンテンツとカスタマイズ内容を確認し、すべて問題なければ公開してください。

### docsサイトを削除するか、公開を取り消す

サイトの公開を取り消すには、次を開きます **設定** → **一般** を選択し、 **サイトを非公開にする**。確認すると、サイトは訪問者からアクセスできなくなります。

公開を取り消しても請求は変わりません。料金を支払うサイト数を変更するには、組織の請求設定でプランを更新してください。

#### 公開取消しまたは削除後もサイトにアクセスできる

まだURLを開ける場合、古いバージョンが通常はキャッシュされています。ブラウザ、CDN、または検索エンジンの結果に残っている可能性があります。サイトが公開されていないことを確認するには、プライベートウィンドウでURLを開くか、そのサイトのブラウザキャッシュをクリアして再読み込みしてください。

#### サイトが検索エンジンにまだ表示される

検索エンジンがインデックスを更新するには時間がかかるため、公開を取り消したサイトがしばらく結果に表示されることがあります。どのくらいかかるかは、クロール頻度やそのページにリンクしている他のサイト数などの要因によって異なります。

早めるには、Google Search Consoleで再クロールをリクエストします。次を開きます **URL検査** タブでURLを入力し、次をクリック **インデックス登録をリクエスト**。Googleがリクエストを確認し、ページが公開されていなければインデックスから削除します。

Googleで次を検索すると、サイトがまだインデックスされているか確認できます `site:` の後にサイトのURLを続けます。

docsサイトを削除するには:

1. 開く **設定** → **一般**.
2. 選択します [**サイトを削除**](/docs/documentation/ja-gitbook-documentation/saitowo/site-settings.md#delete-site).

サイトを削除すると、その設定とカスタマイズは完全に削除されます。コンテンツは組織内に残ります—次で見つけてください [すべてのコンテンツ](/docs/documentation/ja-gitbook-documentation/kontentsuwo/content-structure/all-content.md).


---

# 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.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.
