diff --git a/src/templates/doc.js b/src/templates/doc.js index bdacc48e808..29906fdf260 100644 --- a/src/templates/doc.js +++ b/src/templates/doc.js @@ -77,7 +77,7 @@ const buildSections = (navTree) => { } }); if (nextSection) sections.push(nextSection); - console.error(sections); + return sections; };