> 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/fr/documentation-as-code/guides.md).

# Guides

GitBook fonctionne avec vos outils et workflows existants. Ces guides vous aident à utiliser le code et l’IA pour créer, maintenir et optimiser la documentation.

#### Explorer

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-code-branch">:code-branch:</i></h4></td><td><h4>Importez ou migrez du contenu avec Git Sync</h4></td><td>Importez votre documentation existante dans GitBook avec Git Sync</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/nE7HQxA8bhx2cDMqtwBa">/spaces/LBGJKQic7BQYBXmVSjy0/pages/nE7HQxA8bhx2cDMqtwBa</a></td></tr><tr><td><h4><i class="fa-pen-to-square">:pen-to-square:</i></h4></td><td><h4>Rédigez de la documentation avec l’IA</h4></td><td>Utilisez GitBook Agent pour créer et maintenir la documentation</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/lZib1r0W2EKSeHHGsXse">/spaces/LBGJKQic7BQYBXmVSjy0/pages/lZib1r0W2EKSeHHGsXse</a></td></tr><tr><td><h4><i class="fa-magnifying-glass-chart">:magnifying-glass-chart:</i></h4></td><td><h4>Optimisez la documentation pour la recherche par IA</h4></td><td>Préparez la documentation pour la recherche par IA et l’ingestion par les LLM</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/0VDm6MCHnkOiY0UMgwUw">/spaces/LBGJKQic7BQYBXmVSjy0/pages/0VDm6MCHnkOiY0UMgwUw</a></td></tr><tr><td><h4><i class="fa-wand-magic-sparkles">:wand-magic-sparkles:</i></h4></td><td><h4>Simplifiez les workflows de documentation avec GitBook Agent</h4></td><td>Utilisez GitBook Agent pour les mises à jour, l’optimisation et les tâches de documentation en masse</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/qFDlIyMYStBBWzAihxLv">/spaces/LBGJKQic7BQYBXmVSjy0/pages/qFDlIyMYStBBWzAihxLv</a></td></tr><tr><td><h4><i class="fa-terminal">:terminal:</i></h4></td><td><h4>Créez et publiez un site depuis la ligne de commande</h4></td><td>Utilisez l’interface CLI de GitBook pour créer et publier un site</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/zmpnDiKX098r2S6GXiyP">/spaces/LBGJKQic7BQYBXmVSjy0/pages/zmpnDiKX098r2S6GXiyP</a></td></tr></tbody></table>

#### Guides rapides

<details>

<summary>Configurez Git Sync pour votre dépôt</summary>

Git Sync maintient votre dépôt GitHub ou GitLab synchronisé avec GitBook.

Ce guide explique comment choisir un fournisseur, autoriser GitBook et connecter votre dépôt.

<button type="button" class="button secondary" data-action="ask" data-query="Write a step-by-step guide to setting up Git Sync for a GitHub or GitLab repository. Cover selecting a provider, authorizing GitBook, connecting the repository, and checking the first sync. Include links to the relevant docs pages." data-icon="gitbook-assistant">Ouvrir le guide</button>

</details>

<details>

<summary>Connectez un assistant de codage avec GitBook MCP</summary>

GitBook MCP donne aux assistants de codage compatibles accès à votre contenu GitBook.

Ce guide explique comment connecter le serveur, confirmer l’accès et démarrer une tâche de documentation.

<button type="button" class="button secondary" data-action="ask" data-query="Write a step-by-step guide to connecting a coding assistant to GitBook with GitBook MCP. Cover adding the MCP server, authenticating, confirming access, and starting a documentation task. Include links to the relevant docs pages." data-icon="gitbook-assistant">Ouvrir le guide</button>

</details>

<details>

<summary>Exécutez des workflows de documentation avec l’interface CLI de GitBook</summary>

L’interface CLI de GitBook vous permet de travailler avec du contenu depuis votre ligne de commande.

Ce guide explique comment se connecter, interroger du contenu et exécuter des workflows de documentation.

<button type="button" class="button secondary" data-action="ask" data-query="Write a step-by-step guide to using the GitBook CLI for documentation workflows. Cover installing the CLI, signing in, querying content, and running a useful workflow. Include links to the relevant docs pages." data-icon="gitbook-assistant">Ouvrir le guide</button>

</details>

<details>

<summary>Donnez des compétences GitBook aux assistants de codage</summary>

Les compétences d’agent fournissent aux assistants de codage du contexte sur les fonctionnalités et les blocs de contenu de GitBook.

Ce guide explique comment ajouter le fichier des compétences et l’utiliser pendant les tâches de documentation.

<button type="button" class="button secondary" data-action="ask" data-query="Write a step-by-step guide to giving a coding assistant GitBook skills. Cover finding the skills file, adding it to the assistant&#x27;s context, and using it for a documentation task. Include links to the relevant docs pages." data-icon="gitbook-assistant">Ouvrir le guide</button>

</details>


---

# 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/fr/documentation-as-code/guides.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.
