#documentation #sphinx #rustdoc #restructuredtext #comments #extract #executable

bin+lib sphinx-rustdocgen

Executable to extract rustdoc comments for Sphinx

11 releases (5 breaking)

new 0.7.1 Jan 11, 2025
0.6.4 Dec 31, 2024
0.6.1 Aug 28, 2024
0.4.0 Jul 11, 2024

#625 in Development tools

Download history 10/week @ 2024-09-24 34/week @ 2024-10-01 6/week @ 2024-10-08 3/week @ 2024-12-03 35/week @ 2024-12-10 142/week @ 2024-12-17 161/week @ 2024-12-24 307/week @ 2024-12-31 165/week @ 2025-01-07

775 downloads per month

GPL-3.0-or-later

200KB
4K SLoC

sphinx-rustdocgen

This crate is a part of the sphinxcontrib-rust project.

Documentation:

Repository: https://gitlab.com/munir0b0t/sphinxcontrib-rust

License: GNU GPLv3 or later


lib.rs:

Library for the sphinx-rustdocgen executable.

It consists of functions to extract content from the AST and to write the content to an RST or MD file. The crate is tested on itself, so all the documentation in the crate is in RST. The tests for Markdown are done on the dependencies.

Dependencies

~1–2MB
~42K SLoC