mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 03:31:10 +00:00
Fix Mermaid diagram rendering (#3875)
Closes https://github.com/paritytech/polkadot-sdk/issues/2977 The issue appears to stem from the `aquamarine` crate failing to render diagrams in re-exported crates. e.g. as raised [here](https://github.com/paritytech/polkadot-sdk/issues/2977), diagrams would render at `frame_support::traits::Hooks` but not the re-exported doc `frame::traits::Hooks`, even if I added `aquamarine` as a `frame` crate dependency. To resolve this, I followed advice in https://github.com/mersinvald/aquamarine/issues/20 to instead render mermaid diagrams directly using JS by adding an `after-content.js`. --- Also fixes compile warnings, enables `--all-features` and disallows future warnings in CI. --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -18,8 +18,7 @@
|
||||
//! # Assets Pallet
|
||||
//!
|
||||
//! A simple, secure module for dealing with sets of assets implementing
|
||||
//! [`fungible`](frame_support::traits::fungible) traits, via
|
||||
//! [`fungibles`](frame_support::traits::fungibles) traits.
|
||||
//! [`fungible`](frame_support::traits::fungible) traits, via [`fungibles`] traits.
|
||||
//!
|
||||
//! The pallet makes heavy use of concepts such as Holds and Freezes from the
|
||||
//! [`frame_support::traits::fungible`] traits, therefore you should read and understand those docs
|
||||
|
||||
Reference in New Issue
Block a user