# Editing & publishing documentation

- [The complete guide to creating and publishing documentation in GitBook \[updated for 2026\]](https://gitbook.com/docs/guides/editing-and-publishing-documentation/complete-guide-to-publishing-docs-gitbook.md): Learn how to use GitBook to create public or private documentation for your project — and how to add customizations, check analytics, and more
- [How to use GitBook’s editor](https://gitbook.com/docs/guides/editing-and-publishing-documentation/how-to-use-gitbooks-editor.md): Learn how to edit pages, insert blocks, and create content on a page using GitBook’s editor
- [How to collaborate on change requests](https://gitbook.com/docs/guides/editing-and-publishing-documentation/how-to-collaborate-on-change-requests.md): Learn how to work with your team in GitBook using change requests
- [How to use merge rules](https://gitbook.com/docs/guides/editing-and-publishing-documentation/how-to-use-merge-rules.md): Add more control to the way your team collaborates on change requests by setting merge rules
- [Import or migrate your content to GitBook with Git Sync](https://gitbook.com/docs/guides/editing-and-publishing-documentation/import-or-migrate-your-content-to-gitbook-with-git-sync.md): Easily import content from your previous documentation provider — or from GitHub or GitLab — using Git Sync in GitBook
- [Import content from a CSV file into GitBook](https://gitbook.com/docs/guides/editing-and-publishing-documentation/import-zendesk-csv-to-gitbook.md): Learn how to add data from Zendesk — or any other CSV file — into GitBook
- [How to handle merge conflicts in GitBook](https://gitbook.com/docs/guides/editing-and-publishing-documentation/how-to-handle-merge-conflicts-in-gitbook.md): Why do merge conflicts happen in GitBook and how do you resolve them? Our guide can help.
- [Embed a playable video into your GitBook docs](https://gitbook.com/docs/guides/editing-and-publishing-documentation/upload-and-embed-a-playable-video-into-your-gitbook-docs.md): Add videos to your GitBook docs that users can click to play instantly
- [Find & replace or make batch changes across your GitBook docs with Git Sync](https://gitbook.com/docs/guides/editing-and-publishing-documentation/find-and-replace-or-make-batch-changes-across-your-gitbook-docs-with-git-sync.md)
- [How to write documentation with AI](https://gitbook.com/docs/guides/editing-and-publishing-documentation/how-to-write-documentation-with-ai.md): Use GitBook Agent to work on your docs with an AI teammate that has the full context of your existing docs site
- [7 ways teams are using GitBook Agent to streamline their docs workflows (with prompt examples)](https://gitbook.com/docs/guides/editing-and-publishing-documentation/gitbook-agent-prompt-examples.md): Discover 7 practical ways teams use GitBook Agent to optimize docs for SEO and AI, automate content updates, import from PDF and Microsoft Word files, and manage documentation at scale


---

# 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/guides/editing-and-publishing-documentation.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.
