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

bin+lib sphinx-rustdocgen

Executable to extract rustdoc comments for Sphinx

6 releases (breaking)

0.6.1 Aug 28, 2024
0.6.0 Aug 20, 2024
0.5.0 Aug 14, 2024
0.4.0 Jul 11, 2024
0.1.1 Apr 20, 2024

#781 in Development tools

32 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