Sphinx-needsΒΆ
This package integrates with the sphinx-needs package to allow for the creation of requirements and test cases from Rust code.
To use this feature, add sphinx_needs to your conf.py:
extensions = [
"sphinx_rust",
"sphinx_needs",
"sphinxcontrib.plantuml"
]
rust_crates = [
"../path/to/crate",
...
]
...
We can then create requirements and test cases from Rust code:
.. rubric:: Need-list example
.. needlist::
:tags: rust
.. rubric:: Need-table example
.. needtable::
:tags: rust
:style: table
Need-list example
Need-table example
ID |
Title |
Status |
Type |
Outgoing |
Tags |
|---|---|---|---|---|---|
Integrate rust with sphinx |
req |
rust |
|||
Analyze a rust package |
req |
rust |
|||
Represent a crate |
in-progress |
req |
rust |
||
Represent a module |
in-progress |
req |
rust |
||
Represent a struct |
in-progress |
req |
rust |
||
Represent an enum |
in-progress |
req |
rust |