For more faithful translation of API documentation, write a custom
translator from POD to rustdoc.
---
generator/Rust.ml | 99 ++-
1 file changed, 80 insertions(+), 19 deletions(-)
diff --git a/generator/Rust.ml b/generator/Rust.ml
index
Although not required, it makes automake 'Makefile.am's easier to read.
---
rust/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/Makefile.am b/rust/Makefile.am
index 027097af9b..75738a0c30 100644
--- a/rust/Makefile.am
+++ b/rust/Makefile.am
@@ -117,6 +117,6
---
.gitignore | 1 +
docs/libnbd.pod | 4
rust/Makefile.am | 13 +++
rust/libnbd-rust.pod | 53
4 files changed, 71 insertions(+)
diff --git a/.gitignore b/.gitignore
index 36bf8b60f8..0b1cf7646a 100644
---
It's worth checking that the examples actually build, so we don't get
any regressions.
---
rust/Makefile.am | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/rust/Makefile.am b/rust/Makefile.am
index 5c73512c87..a7700d69bd 100644
--- a/rust/Makefile.am
+++
Add an overview libnbd-rust(3) man page pointing to the real
documentation. This is like OCaml & Golang.
When reviewing the real rustdocs I noticed they basically converted
the man pages into plain text, resulting in lots of problems such as
internal links not working, no `code` annotations,
On Tue, Oct 10, 2023 at 09:05:43AM +0200, Laszlo Ersek wrote:
> On 10/9/23 16:51, Richard W.M. Jones wrote:
> >
> > So one thing we could do for this test is to require (for the test)
> > that /bin/sh is bash, something like the patch below. I was only able
> > to test this in the positive case.
On 10/9/23 16:51, Richard W.M. Jones wrote:
>
> So one thing we could do for this test is to require (for the test)
> that /bin/sh is bash, something like the patch below. I was only able
> to test this in the positive case.
>
> diff --git a/tests/test-log-script-info.sh