Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsSep 11, 2026·3 min de lectura

Read the Docs — Documentation Hosting and Build Platform

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

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Read the Docs
Comando de instalación directa
npx -y tokrepo@latest install a71207e0-ade5-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con 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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados