> 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/publish/pdf-export.md).

# PDF エクスポート

GitBook コンテンツの PDF コピーをエクスポートします

### 公開したコンテンツのPDF版を読者にエクスポートできるようにする

訪問者向けにPDFエクスポートを有効または無効にするには、 [公開ドキュメントサイトの](/docs/documentation/ja-gitbook-documentation/publish/publish-a-docs-site.md)、開き **カスタマイズ** サイトのサイドバーで **設定 → ページアクション**に移動します。そこから、 **PDFとしてエクスポート** をオンまたはオフに切り替えられます。

この設定は、 **公開したコンテンツの読者がPDF形式でダウンロードできるかどうかを**決定します。この機能は **Essential および Ultimate サイト**.

### 自分の社内コンテンツをPDFとしてエクスポートする

公開済みの docs サイトをどのように設定する場合でも、Pro または Enterprise プランの組織に属するログイン済みメンバーは、社内ナレッジベースのページまたはセクション全体を PDF ファイルとしてエクスポートできます。

{% hint style="warning" %}
内部コンテンツをPDFにエクスポートする際、セクションをまたぐリンクは現在サポートされていないことに注意してください。
{% endhint %}

#### 個別のページをエクスポートする

1. エクスポートしたいページを開き、次にそのページの [アクションメニュー](/docs/documentation/ja-gitbook-documentation/rifarensu/gitbook-ui.md#the-actions-menu)

   <picture><source srcset="/files/7357cbc20caed26a09fecd954050d03fafe931e0" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F89MTSo5XRpPMVr1T0rxS%2Factions.svg?alt=media&amp;token=2b5d001e-560a-4f29-8d22-de8163725ca1" alt="GitBook のアクションメニューアイコン"></picture>

   ページタイトルの横にある
2. 選択 **PDFにエクスポート > 現在のページ**.
3. ページの読み込みが完了するのを待ち、次に **印刷またはPDFとして保存** 右上のボタンをクリックして、ブラウザの印刷メニューを開きます。
4. ここから、通常のブラウザの手順でページをPDFとして保存したり、PDFビューアで開いたりできます。

#### セクション全体をエクスポートする

1. 次を開き [アクションメニュー](/docs/documentation/ja-gitbook-documentation/rifarensu/gitbook-ui.md#the-actions-menu)

   <picture><source srcset="/files/7357cbc20caed26a09fecd954050d03fafe931e0" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F89MTSo5XRpPMVr1T0rxS%2Factions.svg?alt=media&amp;token=2b5d001e-560a-4f29-8d22-de8163725ca1" alt="GitBook のアクションメニューアイコン"></picture>

   ページタイトルの横にある **PDFとしてエクスポート > すべてのページ**を選択します。あるいは、セクションの **アクションメニュー**

   <picture><source srcset="/files/7921b1bb0176532ba35c07b00cf26d44d75ad9c3" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FPnnI41SqLSaKBNwT98fW%2Factions-horizontal.svg?alt=media&amp;token=99754200-a354-4ffe-931e-aa6322ea7395" alt="GitBook のアクションメニューアイコン"></picture>

   を [セクションヘッダー](/docs/documentation/ja-gitbook-documentation/rifarensu/gitbook-ui.md#space-header) を選択し、 **PDFとしてエクスポート** ドロップダウンメニュー内で。\
   \
   *注: この操作は変更リクエスト内では利用できません。*
2. ページの読み込みが完了するのを待ち、次に **印刷またはPDFとして保存** 右上のボタンをクリックして、ブラウザの印刷メニューを開きます。
3. ここから、通常のブラウザの手順でページをPDFとして保存したり、PDFビューアで開いたりできます。


---

# 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/publish/pdf-export.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.
