2 repos
Tools that enforce consistent style and syntax within code blocks embedded in documentation files.
Distinguishing note: Targets documentation-embedded code rather than standalone source files.
Explore 2 awesome GitHub repositories matching development tools & productivity · Documentation Formatters. Refine with filters or upvote what's useful.
Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions as a comprehensive engine that scans source code to detect programming errors, security vulnerabilities, and deviations from established coding standards. By parsing source code into a structured tree representation, it provides both automated linting and style enforcement across entire projects. The tool distinguishes itself through its speed and deep integration into the development lifecycle. It utilizes parallelized file processing to maximize throughput on large codebases
The tool formats Python code snippets found inside documentation strings by adjusting indentation and line length to ensure readability while maintaining the integrity of executable test examples.
This project is an uncompromising, deterministic code formatter for Python. It functions by parsing source code into an abstract syntax tree and regenerating it according to a rigid, opinionated set of style rules. By automating the formatting process, it eliminates manual style debates and configuration overhead, ensuring that code remains consistent across entire projects regardless of the original input. The tool distinguishes itself through its focus on speed and seamless integration into development workflows. It utilizes content-based file caching and parallel processing to maintain hig
Standardizes the appearance of code examples embedded in documentation and docstrings.