Displaying 3 results from an estimated 3 matches for "3a07c3b53".
2019 Aug 11
5
[PATCH 1/2] Rust bindings: Add long description
...ple documents corresponding to each version.
- the style of the documents generated by `cargo doc` is far different
from the documents which already exist.
---
generator/rust.ml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/generator/rust.ml b/generator/rust.ml
index 1f5cefa62..3a07c3b53 100644
--- a/generator/rust.ml
+++ b/generator/rust.ml
@@ -52,6 +52,14 @@ let translate_bad_symbols s =
else
s
+(* output longdesc to the rust file *)
+let pr_longdesc name longdesc indent_depth =
+ let l = pod2text name longdesc in
+ List.iter (fun x ->
+ indent indent_depth;
+...
2019 Aug 12
0
Re: [PATCH 1/2] Rust bindings: Add long description
...discussion and for another day.)
I'd leave the paragraph above out from the commit message, since it is
mostly unrelated.
> ---
> generator/rust.ml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/generator/rust.ml b/generator/rust.ml
> index 1f5cefa62..3a07c3b53 100644
> --- a/generator/rust.ml
> +++ b/generator/rust.ml
> @@ -52,6 +52,14 @@ let translate_bad_symbols s =
> else
> s
>
> +(* output longdesc to the rust file *)
> +let pr_longdesc name longdesc indent_depth =
indent_depth seems always 1, so I'd say to hard...
2019 Aug 13
2
Re: [PATCH 1/2] Rust bindings: Add long description
...ostly unrelated.
>
Hmm, It seems better to create an intro page for rust bindings.
I’ll create it.
>> ---
>> generator/rust.ml | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/generator/rust.ml b/generator/rust.ml
>> index 1f5cefa62..3a07c3b53 100644
>> --- a/generator/rust.ml
>> +++ b/generator/rust.ml
>> @@ -52,6 +52,14 @@ let translate_bad_symbols s =
>> else
>> s
>>
>> +(* output longdesc to the rust file *)
>> +let pr_longdesc name longdesc indent_depth =
>
> indent_depth...