Add feature: no-metadata-doc which removes doc from metadata and full-metadata which build metadata with all doc (#10493)

* add features to remove or add doc

* fmt

* add test for event/error/call

* fmt
This commit is contained in:
Guillaume Thiolliere authored and GitHub committed 2022-01-17 22:21:19 +01:00
1 parent 2a122c44b1
commit 137628b4d7
17 files changed
+76 -16

No files matched your search

@@ -15,6 +15,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Old macros don't support the flag `no-metadata-docs` so the result differs when the feature is
// activated.
#![cfg(not(feature = "no-metadata-docs"))]
use frame_support::traits::{ConstU32, ConstU64};
mod pallet_old {