mbox series

[libgpiod,0/3] doc: add rust docs

Message ID 20250604-rust-docs-v1-0-8ff23924a917@linaro.org
Headers show
Series doc: add rust docs | expand

Message

Bartosz Golaszewski June 4, 2025, 9:53 a.m. UTC
While full integration of Rust docs with sphinx is currently hard, if
not impossible, we can still follow the pattern we used for GLib
bindings and generate the docs using cargo, then linking to them from
the sphinx page.

While at it: fix some minor issues in conf.py.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (3):
      doc: reformat conf.py with black
      doc: improve the readability of the prefix variable
      doc: integrate rust docs into the sphinx build

 .readthedocs.yaml |  3 +++
 docs/conf.py      | 43 ++++++++++++++++++++++++++++++++++---------
 docs/rust_api.rst | 22 ++++++++++++++--------
 3 files changed, 51 insertions(+), 17 deletions(-)
---
base-commit: 088c66ef20662b76eebf03e71f11196a5ae14b33
change-id: 20250604-rust-docs-502d6caf207b

Best regards,