文档改版 (#55)

This commit is contained in:
neverland
2017-07-20 14:35:08 +08:00
committed by 张敏
parent 570cd24b6b
commit 78da8ff37f
47 changed files with 283 additions and 2874 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
const registerRoute = (navConfig, isExample) => {
const navs = require('./doc.config')['zh-CN'].nav;
const registerRoute = (isExample) => {
let route = [];
let navs = navConfig['zh-CN'];
navs.forEach(nav => {
if (isExample && !nav.showInMobile) {
return;