$npx skillfedfor your agent

doc8

Style checker for Sphinx (or other) RST documentation

Worth itPyPI UtilitiesReleased Jun 2025902.4K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — doc8-2.0.0-py3-none-any.whl
v2.0.0 · released 2025-06-13 · Python >=3.10 · 5 runtime deps: docutils, restructuredtext-lint, stevedore, tomli, Pygments

Yes. doc8 is actively maintained, has no known vulnerabilities, installs with low friction, and is widely used (top 5000 PyPI packages). It fills a clear niche in RST documentation quality assurance. Install it if you maintain Sphinx or reStructuredText documentation and want automated style enforcement.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with a pure Python wheel distribution.
  • Actively maintained with recent commits and a stable production status across Python 3.10 through 3.14.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects, including commercial, with minimal restrictions beyond attribution.

last release 2025-06-13 (427 days) · last repo commit 2026-08-10 · 176 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 902,421 downloads/mo, #4,770 on PyPI

Verify before relying

pip install doc8

from doc8 import doc8

result = doc8(max_line_length=99)
print(result.report())
  • Whether the package handles Markdown or other markup formats beyond RST and plain text.
  • Performance characteristics when scanning large documentation trees.
Same gist for agents: .md · .json

What it is and what it does

doc8 is a command-line and programmatic style checker for reStructuredText documentation. It enforces a set of opinionated formatting rules including line length limits (default 79 characters), trailing whitespace removal, proper indentation without tabs, Unix newlines, and valid RST syntax. The tool can be run directly against documentation directories or integrated into Python projects via its API.

The package depends on docutils for RST parsing, restructuredtext-lint for linting checks, stevedore for plugin management, tomli for TOML configuration parsing, and Pygments for syntax highlighting. It supports configuration via command-line arguments or INI-style files (doc8.ini, setup.cfg, tox.ini, pyproject.toml) and allows selective error ignoring and path exclusion. Results are returned as structured error tuples or human-readable reports.

Use it for

  • Enforce consistent RST formatting in Sphinx-based documentation projects as part of CI/CD pipelines.
  • Validate documentation style in multi-contributor projects to catch formatting issues before merge.
  • Check documentation compliance in automated quality gates alongside code linting tools.
  • Scan existing documentation repositories for style violations and generate reports for remediation.
  • Programmatically validate RST files in documentation generation workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

doc8 is actively maintained, has no known vulnerabilities, installs with low friction, and is widely used (top 5000 PyPI packages). It fills a clear niche in RST documentation quality assurance. Install it if you maintain Sphinx or reStructuredText documentation and want automated style enforcement.

Install

doc8 on PyPI

Before you install

Low install friction with a pure Python wheel distribution. Actively maintained with recent commits and a stable production status across Python 3.10 through 3.14.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows use in most projects, including commercial, with minimal restrictions beyond attribution.

Quickstart

pip install doc8

from doc8 import doc8

result = doc8(max_line_length=99)
print(result.report())

Verify before relying

  • Whether the package handles Markdown or other markup formats beyond RST and plain text.
  • Performance characteristics when scanning large documentation trees.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
docutilsrestructuredtext-lintstevedoretomliPygments
MaintenanceActively maintained 427 days since the last release
Last repo commit
First released
Downloads902,421 / month, #4,770 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: System :: Systems AdministrationTopic :: Utilities

Evidence: doc8-2.0.0-py3-none-any.whl

Tags

Capabilities
rst linterdocumentation style checkerrestructuredtext format validationsphinx doc linterrst formatting rulesdoc8 style checkerdocumentation quality tool
Topics
documentation-lintingrst-validationci-cd-tool
PyPI keywords
doc8rstlinter

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “documentation style checker”

  • doc8doc8 is a style checker for reStructuredText documentation that…
  • valeVale is a command-line tool for enforcing editorial style guides on…
  • sphinx-lintSphinx Lint checks reStructuredText and Python documentation files…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also sphinx-lint · rstcheck · docstrfmt · restructuredtext-lint · rstcheck-core · sphinx_mdinclude · flake8-rst-docstrings · autopep8 · collective.checkdocs · bashate