Skip to content

Conversation

yogh333
Copy link
Contributor

@yogh333 yogh333 commented Oct 14, 2025

No description provided.

@yogh333 yogh333 force-pushed the y333/improve_doc_nbgl branch from 62c4bc2 to fcd2e5f Compare October 14, 2025 15:50
Copy link
Contributor

@iartemov-ledger iartemov-ledger left a 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.
Copy link
Contributor

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 {
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants