Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsSep 11, 2026·3 min de lecture

Read the Docs — Documentation Hosting and Build Platform

Host, build, and version your project documentation automatically from Sphinx, MkDocs, or any static site generator.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Read the Docs
Commande d'installation directe
npx -y tokrepo@latest install a71207e0-ade5-11f1-9bc6-00163e2b0d79 --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

Read the Docs is an open-source platform that builds and hosts documentation from version-controlled repositories. It automates the workflow of turning reStructuredText or Markdown source files into a searchable, versioned documentation site, and has hosted docs for thousands of open-source projects.

What Read the Docs Does

  • Builds documentation automatically on every commit via webhook integration
  • Hosts multiple versions of docs (stable, latest, per-branch, per-tag)
  • Provides full-text search across all documentation pages
  • Generates PDF, EPUB, and HTML downloads from the same source
  • Supports Sphinx, MkDocs, and custom build commands

Architecture Overview

Read the Docs is a Django web application backed by PostgreSQL and Elasticsearch. When a webhook fires, a Celery worker clones the repository, installs dependencies in an isolated environment, and runs the configured build tool. The output is stored and served behind a CDN. Each project gets a subdomain (project.readthedocs.io) with HTTPS by default.

Self-Hosting & Configuration

  • Deploy the community edition using Docker Compose from the official repository
  • Configure the Django settings for your database, Redis, and storage backend
  • Connect to GitHub, GitLab, or Bitbucket for webhook-triggered builds
  • Add a .readthedocs.yaml file to your repo to pin the Python version and build tools
  • Set up custom domains with automatic SSL certificate provisioning

Key Features

  • Automatic version management tied to branches and tags in your VCS
  • Pull request preview builds so reviewers can see doc changes before merge
  • Analytics dashboard showing page views and search queries
  • Localization support for multilingual documentation
  • Embed API for pulling rendered documentation into external sites

Comparison with Similar Tools

  • GitHub Pages — static hosting without built-in versioning or search
  • Netlify / Vercel — general-purpose hosting; Read the Docs specializes in documentation workflows
  • GitBook — commercial with a free tier; Read the Docs is fully open source and self-hostable
  • Docusaurus — a static site generator, not a hosting platform

FAQ

Q: Is the hosted service at readthedocs.org free? A: Yes, free for open-source projects. A commercial product (Read the Docs for Business) adds private repos and priority support.

Q: Can I self-host Read the Docs? A: Yes. The community edition is open source under the MIT license and can be deployed with Docker.

Q: Does it support MkDocs in addition to Sphinx? A: Yes. Both Sphinx and MkDocs are supported as first-class build tools.

Q: How does versioning work? A: Each Git branch or tag can be activated as a documentation version, accessible at its own URL path.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires