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

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

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

docsサイトのコンテンツは、その [セクション](/docs/documentation/ja-gitbook-documentation/docs-site/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/collaboration/member-management/roles.md) を参照してください。
{% endhint %}

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

サイトを公開するには：

1. 組織の **ホーム**、サイトを開きます。
2. クリック **公開** をサイトヘッダーで行います。

サイトはデフォルトで公開です。サイトの公開範囲は **設定** → **対象読者**で変更できます。詳細は [サイト設定](/docs/documentation/ja-gitbook-documentation/docs-site/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を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サイトを削除するか公開を取り消す

サイトの公開を取り消すには、 **設定** → **全般** を開いて **サイトの公開を取り消す**.

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

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

サイトを削除すると、その設定とカスタマイズは完全に削除されます。コンテンツは組織内に残ります。場所は [すべてのコンテンツ](/docs/documentation/ja-gitbook-documentation/creating-content/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/docs-site/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.
