• Get Review Board
  • What's New
  • Downloads
  • Review Board Code review, image review, and document review
  • Documentation
  • Release Notes
  • Power Pack Enterprise integrations, reports, and enhanced document review
  • Try for 60 Days
  • Purchase
  • RBCommons Review Board as a Service, hosted by us
  • Pricing
  • RBTools Command line tools and Python API for Review Board
  • Documentation
  • Release Notes
  • Review Bot Automated code review, connecting tools you already use
  • Documentation
  • Release Notes
  • RB Gateway Manage Git and Mercurial repositories in your network
  • Documentation
  • Release Notes
  • Learn More
  • Documentation
  • Frequently Asked Questions
  • Support Options
  • Third-Party Integrations
  • Product Information for AI Agents
  • Demo
  • Review Board RBTools Power Pack Review Bot Djblets RB Gateway
    1. Review Bot 2.0
    2. Version 4.x
    3. Version 3.0
    4. Version 2.0
    5. Version 1.0
    6. Review Bot Tools
    7. doc8
  • Home
  • Installation
  • Upgrading
  • Configuration
  • Review Bot Tools
  • BuildBot “try”
  • checkstyle
  • Clang Static Analyzer
  • Cppcheck
  • CppLint
  • doc8
  • flake8
  • JSHint
  • PMD
  • pycodestyle
  • pydocstyle
  • pyflakes
  • General Index
  • Release Notes
  • This documentation covers Review Bot 2.0. You can select a version above or view the latest documentation.

    doc8¶

    New in version 2.0.

    DOC8 is a style checker for Sphinx (or other) reStructuredText documentation. Also it has basic support for plain text. doc8 uses RST_LINT as a backend for the verification.

    Checks¶

    doc8 verifies the following styles in .rst files.

    • Invalid rst format - D000
    • Lines should not be longer than 79 characters - D001
      • RST exception: line with no whitespace except in the beginning
      • RST exception: lines with http or https urls
      • RST exception: literal blocks
      • RST exception: rst target directives
    • No trailing whitespace - D002
    • No tabulation for indentation - D003
    • No carriage returns (use unix newlines) - D004
    • No newline at end of file - D005

    Installation¶

    doc8 can be installed on most systems by running:

    $ pip install doc8
    

    It may also be available in your system’s package manager.

    Keep up with the latest Review Board releases, security updates, and helpful information.

    About
    Pricing/Plans
    News
    Demo
    Integrations
    Support Options
    Product Info for Agents
    Documentation
    FAQ
    User Manual
    RBTools
    Administration Guide
    Power Pack
    Release Notes
    Downloads
    Review Board
    Power Pack
    RBCommons Hosting
    RBTools
    Review Bot
    RB Gateway
    Follow Us
    Mailing Lists
    Reddit
    Twitter
    Mastodon
    Facebook
    YouTube
    Copyright © 2006-2026 Beanbag, Inc. All rights reserved.
    Terms of Service — Privacy Policy — AI Ethics Policy — AI Agent Sitemap — Branding

    On this page

    • [Top]
    • Checks
    • Installation