-
Notifications
You must be signed in to change notification settings - Fork 432
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
Linter: Automate the generation of documentation for ink-docs
#1972
Conversation
This commit introduces a script that extracts documentation from `ink_linting` lints and saves it to the local [ink-docs](https://github.com/paritytech/ink-docs) directory. The markdown formatting of the lints was also improved.
🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑
Link to the run | Last update: Fri Nov 3 14:15:36 CET 2023 |
The script should be updated after #2032 is merged |
🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑These are the results when building the
Link to the run | Last update: Thu Jan 18 12:03:32 CET 2024 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1972 +/- ##
==========================================
- Coverage 53.62% 53.59% -0.03%
==========================================
Files 224 224
Lines 7107 7107
Branches 3146 3146
==========================================
- Hits 3811 3809 -2
- Misses 3296 3298 +2 ☔ View full report in Codecov by Sentry. |
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.
That's great, thx!
Summary
cargo-contract
orpallet-contracts
?Description
This PR introduces a script that extracts documentation from
ink_linting
lints and saves it to the local ink-docs directory. The markdown formatting of the lints was also improved to make them look better in use.ink.The corresponding PR in
ink-docs
: use-ink/ink-docs#284Checklist before requesting a review
CHANGELOG.md