You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduce on commit Polkadot-SDK 2058ca363 with cargo t -p pallet-parameters.
1 error: You have found a bug in docify! Please submit a new GitHub issue at https://github.com/sam0x17/docify/issues/new?title=%60source_excerpt%60%3A%20can%27t%20find%20item%20in%20source with a sam▐
ple of the item you are trying to embed. ▐
--> substrate/frame/parameters/src/lib.rs:42:10 ▐
| ▐
42 | #![doc = docify::embed!("src/mock.rs", dynamic_params)] ▐
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ▐
| ▐
= note: this error originates in the macro `docify::embed` (in Nightly builds, run with -Z macro-backtrace for more info) ▐
▐
error: could not compile `pallet-parameters` (lib) due to previous error
PS: I see its probably because i wanted multiple exports?
When i remove the export on the pallet1 then it works. But would be nice if it worked as well with the nested ones.
The text was updated successfully, but these errors were encountered:
@ggwpez yeah I actually originally had it bake the item sample into the link so it would write the full issue for you with a test case that should reproduce it, but it made the link so long that it got a bit silly and broke some browsers 😆
Will look at this one. It's not always something in the actual item itself, last time it was actually multi-byte UTF-8 characters existing in the file would cause an issue, but first step for me is to write a test case for that exact item and see what happens 👍🏻
Clicked the bug report button, very cool 😋
Reproduce on commit Polkadot-SDK 2058ca363 with
cargo t -p pallet-parameters
.PS: I see its probably because i wanted multiple exports?
When i remove the export on the
pallet1
then it works. But would be nice if it worked as well with the nested ones.The text was updated successfully, but these errors were encountered: