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

コンテンツの作成、編集、またはインポートが終わったら、docs site に公開して、選択した対象ユーザーが利用できるようにできます。

docs site のコンテンツは [スペース](/docs/documentation/ja-gitbook-documentation/creating-content/content-structure/space.md) 組織内のスペースから取得されます。サイトを作成するときに、新しいスペースを作成することも、既存のスペースをリンクすることもできます。

<figure><img src="/files/817aea365a7353ef56d0f177b3af6b5f0395b213" alt="A GitBook screenshot showing the docs sites homepage"><figcaption><p>GitBook の docs sites ホームページ。</p></figcaption></figure>

### docs site を作成する

docs site を作成するには、サイドバーの Docs site の横にあるプラス **+** アイコンをクリックして、docs site ウィザードを起動します。

サイトに名前を付け、コンテンツの開始点を選択し、サイトを今すぐ公開するか後で公開するかを選びます。

すでに使用したいコンテンツがスペース内にある場合は、そのスペースを開いて **共有** をウィンドウの右上隅でクリックし、次に **docs site として公開** を共有モーダルから選択することで、そのスペースから直接 docs site を作成できます。

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

### docs site を公開する

デフォルトでは、サイトは公開で公開されます。サイトの可視性は、 [サイト設定](/docs/documentation/ja-gitbook-documentation/docs-site/site-settings.md).

で変更できます。サイトを公開するときに選べる主なオプションは 3 つあります:

<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 を Web に公開します。</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 site を削除する、または公開を停止する

docs site を削除するには、サイトのダッシュボードを開き、次に [**サイト設定**](/docs/documentation/ja-gitbook-documentation/docs-site/site-settings.md#delete-site) を右上隅から開きます。


---

# Agent Instructions: 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:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/docs-site/publish-a-docs-site.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
