skillfed

antsibull-docs

Tools for building Ansible documentation

antsibull-docs v2.26.0 156.9K downloads/30d#10,773 on PyPI40
Copyleft license GPL-3.0-or-later Active released

What it is and what it does

antsibull-docs is a toolchain for building Ansible project documentation. It provides both a command-line interface (`antsibull-docs`) and a Sphinx extension (`sphinx_antsibull_ext`) that handle the specialized markup and formatting needs of Ansible documentation. The package depends on Sphinx, Jinja2, docutils, and several sister antsibull projects (antsibull-core, antsibull-changelog, antsibull-docs-parser, antsibull-docutils, antsibull-fileutils) to parse, validate, and render Ansible-specific documentation elements.

It is actively maintained and marked as production-stable, supporting Python 3.9 through 3.14. The project explicitly states it is not intended for use as a general library—it is a command-line and Sphinx extension tool for the Ansible documentation ecosystem. The codebase follows semantic versioning from 1.0.0 onward, with the current major version 2.x dropping support for older Python and Ansible versions.

Use it for:

  • Building official Ansible project documentation using the antsibull-docs command-line tool
  • Integrating Ansible documentation generation into a Sphinx-based documentation pipeline via the sphinx_antsibull_ext extension
  • Processing and validating Ansible markup and changelog fragments as part of a release workflow
  • Generating formatted HTML or other output formats from Ansible source documentation
  • Contributing to Ansible community documentation that relies on this toolchain

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Builds and generates Ansible documentation from source, providing a command-line tool and Sphinx extension for processing Ansible markup into formatted documentation.

Yes, if you are building or maintaining Ansible documentation. The package is actively maintained, has no known vulnerabilities, installs with low friction, and is production-stable. The GPL-3.0-or-later license is appropriate for open-source Ansible projects but requires review for proprietary use. Not recommended for general-purpose documentation building outside the Ansible ecosystem, as it is purpose-built and not designed as a reusable library.

Install

antsibull-docs on PyPI

pip

pip install antsibull-docs

uv

uv add antsibull-docs

poetry

poetry add antsibull-docs

Installing antsibull-docs

Before you install

Low friction installation with a pure Python wheel. Active maintenance as of 2026-08-14 with no known vulnerabilities. Requires Python 3.9 or later and pulls in 16 runtime dependencies including Sphinx, Jinja2, and other documentation tooling.

License in practice

Licensed under GPL-3.0-or-later (copyleft). Any derivative work or distribution must comply with GPL v3 terms, including source disclosure obligations. Suitable for open-source projects but requires careful review for proprietary use.

Quickstart

pip install antsibull-docs

from antsibull_docs import __version__
print(__version__)

# Or use the command-line tool:
# antsibull-docs --help

Requires Python 3.9 or later. The package is intended as a command-line tool and Sphinx extension, not as a library for general use.

Verify before relying

  • Specific Ansible/ansible-core version compatibility requirements beyond what's documented in the changelog
  • Whether the Sphinx extension works with all current Sphinx versions or has version constraints
  • Performance characteristics when building large documentation sets

Package facts

License GPL-3.0-or-later (copyleft)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 16 — aiohttp, ansible-pygments, antsibull-changelog, antsibull-core, antsibull-docs-parser, antsibull-docutils, antsibull-fileutils, asyncio-pool, docutils, jinja2, packaging, pydantic, pyyaml, rstcheck, semantic-version, sphinx
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Downloads 156,871/month — #10,773 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: antsibull_docs-2.26.0-py3-none-any.whl

Development Status :: 5 - Production/StableFramework :: AnsibleIntended Audience :: DevelopersProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Typing :: Typed

Tags

ansible documentation buildersphinx ansible extensionansible docs generationbuild ansible documentationansible markup processordocumentation build toolsansible doc tooling
ansible-toolingdocumentation-generationsphinx-extension

More Sphinx packages

docstring-parser

Parses Python docstrings in ReST, Google,…

permissive · top 1,000 on PyPI

Sphinx

Sphinx generates professional documentation…

permissive · top 1,000 on PyPI

sphinxcontrib-serializinghtml

A Sphinx extension that outputs documentation…

permissive · top 1,000 on PyPI

alabaster

Alabaster is a clean, responsive Sphinx theme…

permissive · top 1,000 on PyPI

sphinxcontrib-htmlhelp

A Sphinx extension that generates HTML help…

permissive · top 1,000 on PyPI

sphinxcontrib-qthelp

A Sphinx extension that converts documentation…

permissive · top 1,000 on PyPI

antsibull-changelog

antsibull-changelog is a CLI tool that…

copyleft · top 15,000 on PyPI

antsibull-core

Provides core library utilities and tooling…

copyleft · top 15,000 on PyPI

antsibull-docs-parser

A Python library for parsing and processing…

copyleft · top 15,000 on PyPI

antsibull-docutils

Provides docutils helpers and utilities for…

copyleft · top 15,000 on PyPI

antsibull-fileutils

Provides file utility functions for Ansible…

copyleft · top 15,000 on PyPI

ansible-creator

A CLI tool that scaffolds new Ansible projects…

permissive · top 15,000 on PyPI

ansible-pygments

Provides a Pygments lexer and style for…

permissive · top 15,000 on PyPI

ansible

Ansible is an IT automation system that handles…

copyleft · top 5,000 on PyPI

linuxdoc

Sphinx-doc extensions and command-line tools…

agpl · top 15,000 on PyPI

sphinx-multiversion

Sphinx extension that builds and serves…

permissive · top 15,000 on PyPI