Native Python extensions written in Rust become more and more popular. The PyO3 framework allows developing them effortlessly, providing the necessary tools to integrate Rust’s performance with Python’s flexibility.
However, there is a lack of information on how to document those extensions to help their users get acquainted with public API. Recently we developed an extension with a sophisticated API, so the problem became critical.
To solve the issue, we dived into the topic and are ready to share with you our recipe allowing to build of beautiful documentation for Rust/PyO3-based Native Python extensions.