-
Notifications
You must be signed in to change notification settings - Fork 36
Improve documentation for NBGL module #308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
03ee009
to
8991b7c
Compare
62c4bc2
to
fcd2e5f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice documentation!
@@ -1,3 +1,14 @@ | |||
//! A wrapper around the asynchronous NBGL [nbgl_useCaseAdvancedReview](https://github.com/LedgerHQ/ledger-secure-sdk/blob/f7ba831fc72257d282060f9944644ef43b6b8e30/lib_nbgl/src/nbgl_use_case.c#L3957) C API binding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not we just use the short url, https://github.com/LedgerHQ/ledger-secure-sdk/blob/master/lib_nbgl/src/nbgl_use_case.c#L4370 , here and in all other places ?
QRCodeWarning, | ||
BarListWarning, | ||
} | ||
// pub enum WarningDetailsType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe then to remove completely ?
} | ||
|
||
/// Structure exposed by the NBGL Rust API to the user to create a | ||
/// Structure exposed by the NBGL Rust API to the user to create as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is yet a
.
- name: Cargo doc | ||
run: | | ||
cargo doc -p ledger_device_sdk --no-deps --lib --target flex | ||
cargo doc -p ledger_device_sdk --no-deps --lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are 73 " missing documentation" warnings shown by rustdoc linter.
Probably to fix incrementally.
No description provided.