forked from contextgeneric/cgp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(cgp-component-macro-lib): add comprehensive documentation for ma…
…cro components Addresses issue: contextgeneric#45 Add detailed Rust docstrings to core macro implementation files, improving code understanding and maintainability. Documentation follows Rust best practices with clear examples and detailed explanations. Each file's documentation includes: - Clear overview and purpose - Detailed function/struct documentation - Arguments and return value descriptions - Practical code examples - Implementation notes and edge cases - Type parameter explanations where applicable All examples are marked with `ignore` where they depend on the full CGP framework context. Documentation has been verified with `cargo test --doc` and `cargo doc`. Part of the ongoing effort to improve CGP framework documentation and usability. Signed-off-by: Marvin Hansen <[email protected]>
- Loading branch information
1 parent
2a20479
commit 1cafd62
Showing
28 changed files
with
1,069 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
crates/cgp-component-macro-lib/src/delegate_components/delegate.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.