#asciidoc #redhat #documentation

bin+lib newdoc

Generate pre-populated module files formatted with AsciiDoc that are used in Red Hat and Fedora documentation

51 stable releases

new 2.18.4 May 8, 2025
2.18.3 Jun 27, 2024
2.17.0 Feb 29, 2024
2.15.0 Oct 12, 2023
2.3.4 Jun 24, 2020

#146 in Text processing

Download history

2,406 downloads per month

GPL-3.0-or-later

77KB
1K SLoC

Rust 1K SLoC // 0.2% comments AsciiDoc 192 SLoC // 0.4% comments RPM Specfile 33 SLoC // 0.4% comments

The newdoc tool

Crates.io Crates.io Crates.io

Rust tests dependency status Copr build

The newdoc tool generates pre-populated module and assembly files formatted with AsciiDoc, which are used in Red Hat and Fedora documentation. The generated files follow the Modular Documentation guidelines: https://redhat-documentation.github.io/modular-docs/.

Using newdoc

See the full documentation at Using newdoc.

Release notes

You can find a brief change log in the CHANGELOG.md file.

Dependencies

~11–20MB
~274K SLoC