Closed zeel991 closed 2 weeks ago
It is a symlink, so should do the same thing. It also renders correctly here: https://docs.rs/sp-runtime/39.0.0/sp_runtime/generic/struct.UncheckedExtrinsic.html
Where does it not render correcty?
Symlinks might not work correctly on Windows due to differences in how symlinks are handled. This could cause issues with rendering the documentation locally.
This PR corrects the documentation path for the
extrinsics.mmd
file referenced inunchecked_extrinsics.rs
.The original code was referencing the file path incorrectly. The correct path is now provided as follows:
The file structure for the relevant files is as follows:
../../../../../docs/mermaid/extrinsics.mmd
substrate-sdk/substrate/primitives/runtime/src/generic/unchecked_extrinsics.rs
This ensures that the documentation will correctly render the Mermaid diagram from the specified location in the code.