-
Notifications
You must be signed in to change notification settings - Fork 782
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
Fixes doc links for procedural
crate
#5023
Conversation
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.
This is great, that mean all the macro doc can be moved from support to support-procedural isn't it 🤯
/// However, if `no_aggregated_types` is specified while using | ||
/// [`#[derive_impl(..)]`](macro@derive_impl), then these items are attached verbatim to the | ||
/// combined impl. | ||
#[doc = docify::embed!("examples/inject_runtime_type.rs", derive_impl_works_with_no_aggregated_types)] |
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.
As a sidenote I find it a bit unfortunate that there is no button to click on to access the underlying file.
If there was a source
button it would be great IMO.
But this still doesn't work for traits declared in |
Could you expand this on a bit please? Since |
The CI pipeline was cancelled due to failure one of the required jobs. |
I tried, it seems
But Maybe they changed the environment for doc test so that |
…ithub.com:paritytech/polkadot-sdk into gupnik/proc-examples
If yes to both, then it is green IMO. Can you migrate the rest as well? and please take this as an opportunity and read the existing macro docs, and improve them if anything comes to mind. These docs are not even more on the spotlight, as they are easily accessible via any IDE, and are the first thing that a developer will see once writing a pallet. |
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.
great stuff
This PR fixes the documentation for FRAME Macros when pointed from `polkadot_sdk_docs` crate. This is achieved by referring to the examples in the `procedural` crate, embedded via `docify`. --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This PR fixes the documentation for FRAME Macros when pointed from
polkadot_sdk_docs
crate. This is achieved by referring to the examples in theprocedural
crate, embedded viadocify
.