stm32-data icon indicating copy to clipboard operation
stm32-data copied to clipboard

render multi-line document properly

Open eZioPan opened this issue 9 months ago • 1 comments

and some clippy fix.


will need a

  • [ ] Accept embassy-rs/chiptool#31
  • [ ] Rebase to remove my fork from codebase.

This PR doesn't change function of stm32-data-gen, so there should be no change in ci diff.


BELOW IS OUT OF DATE, SEE embassy-rs/chiptool#31 INSTEAD


Render metapac document from one-line to multi-line.

eg.

from

#[doc = "Scaling factor. Input value has been multiplied by 2^(-n) before for argument. Output value will need to be multiplied by 2^n later for results."]

to

#[doc = "Scaling factor.  "]
#[doc = "Input value has been multiplied by 2^(-n) before for argument.  "]
#[doc = "Output value will need to be multiplied by 2^n later for results."]

after


eZioPan avatar Apr 30 '24 09:04 eZioPan

diff: https://ci.embassy.dev/jobs/31abfdc41613/artifacts/diff.html

embassy-ci[bot] avatar Apr 30 '24 10:04 embassy-ci[bot]