polkadot-sdk-docs: Use command_macro!#6624
Conversation
|
Can you please use |
@iulianbarbu, I used a slightly modified version of the macro used in |
docs/sdk/src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs
Outdated
Show resolved
Hide resolved
docs/sdk/src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs
Outdated
Show resolved
Hide resolved
|
Bot fmt and label needed 👀 |
|
@iulianbarbu it's done: Thank you for the mentoring during this PR⇒ I learned a lot!!!! |
|
It would be nice to review/merge this PR and close the corresponding issue: @michalkucharczyk , we need your help 🙏 !! |
Is this still a problem? If not, would you please update description? |
Should be fixed by: |
Description updated! |
|
/tip small |
|
The referendum has appeared on Polkassembly. |
# Description **Understood assignment:** Initial assignment description is in #6194. In order to Simplify the display of commands and ensure they are tested for chain spec builder's `polkadot-sdk` reference docs, find every occurrence of `#[docify::export]` where `process:Command` is used, and replace the use of `process:Command` by `run_cmd!` from the `cmd_lib crate`. --------- Co-authored-by: Iulian Barbu <[email protected]>
# Description **Understood assignment:** Initial assignment description is in paritytech#6194. In order to Simplify the display of commands and ensure they are tested for chain spec builder's `polkadot-sdk` reference docs, find every occurrence of `#[docify::export]` where `process:Command` is used, and replace the use of `process:Command` by `run_cmd!` from the `cmd_lib crate`. --------- Co-authored-by: Iulian Barbu <[email protected]>

Description
Understood assignment:
Initial assignment description is in #6194.
In order to Simplify the display of commands and ensure they are tested for chain spec builder's
polkadot-sdkreference docs, find every occurrence of#[docify::export]whereprocess:Commandis used, and replace the use ofprocess:Commandbyrun_cmd!from thecmd_lib crate.