This skill writes or updates Read the Docs v2 configuration for Sphinx or MkDocs, ensuring correct paths, builds, and outputs.
npx playbooks add skill readthedocs/skills --skill readthedocs-write-config
Write or revise .readthedocs.yaml files for Read the Docs v2 builds. Focus on required fields, correct paths, and supported keys to avoid validation failures.
sphinx.configuration (conf.py) or mkdocs.configuration (mkdocs.yml) paths.build.os and build.tools when using custom build jobs or commands.latest only when asked.python.install with requirements and/or package install.conda.environment when the project uses conda, and set build.tools.python accordingly.sphinx or mkdocs settings for standard builds.build.jobs for customization; use build.commands only to fully replace the pipeline.$READTHEDOCS_OUTPUT/<format>/.formats for extra outputs (Sphinx only).submodules or search only if requested.references/v2-config.md to confirm defaults, allowed values, and constraints.assets/sphinx.readthedocs.yaml.assets/mkdocs.readthedocs.yaml.build.jobs over build.commands because it preserves standard steps and supports per-format commands.build.apt_packages when using build.commands (not supported together).formats only when the user needs PDF/ePub/HTMLZIP output.submodules.include and submodules.exclude.version: 2 present.build.os and build.tools present when required.sphinx.configuration or mkdocs.configuration path is correct.$READTHEDOCS_OUTPUT.references/v2-config.mdassets/sphinx.readthedocs.yaml, assets/mkdocs.readthedocs.yamlWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.