Ad link to substrate storage section (#535)

This commit is contained in:
Jaco Greeff
2019-01-06 11:23:30 +01:00
committed by GitHub
parent 461403cb28
commit 95af8dbb6d
+1 -1
View File
@@ -137,7 +137,7 @@ function addExtrinsics (metadata: Metadata) {
function addStorage (metadata: Metadata) {
const renderHeading = `## ${ANCHOR_TOP}Storage${DESC_STORAGE}`;
const orderedSections = metadata.modules.sort();
const renderAnchors = generateSectionLinks('storage', metadata);
const renderAnchors = generateSectionLinks('storage', metadata) + sectionLink('substrate');
return orderedSections.reduce((md, moduleMetadata) => {
if (moduleMetadata.storage.isNone) {