Skip to content
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

polkadot-sdk-docs: Use command_macro! #6624

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ndkazu
Copy link
Contributor

@ndkazu ndkazu commented Nov 23, 2024

Description

Understood assignment:
Initial assignment description is in #6194 : find every occurrence of #[docify::export] where process:Command is used → replace the use of process:Command by command_macro!

Issues observed:

  • The tests using #[docify::export] & process:Command are failing to begin with (tested & worked on: ~/polkadot-sdk/docs/sdk/src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs)
  • Probably due to a lack of maintenenance of the crate command_macro the following file needed some modifications: ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/command-macros-plugin-0.2.7/src/lib.rs

I am running cargo +nightly test from ~/polkadot-sdk/docs/sdk/src/reference_docs/chain_spec_runtime/

Same test failures are observed after changing from process:Command to command_macro!

Some assistance is needed.

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.

1 participant