diff --git a/docs/_redirects b/docs/_redirects
deleted file mode 100644
index b0e170db..00000000
--- a/docs/_redirects
+++ /dev/null
@@ -1,4 +0,0 @@
-/* /index.html 200
-
-# Redirect default Netlify subdomain to primary domain
-http://m5-docs.netlify.com/* http://docs.m5stack.com/:splat 301!
\ No newline at end of file
diff --git a/docs/coverpage.md b/docs/coverpage.md
deleted file mode 100644
index 94472cc4..00000000
--- a/docs/coverpage.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-> A documentation for [M5Stack](https://www.m5stack.com)
-
-- A series of modular stackable development devices integrating WIFI/BLE
-- For Industry Development/STEM Education
-- Programming with UIFlow(Blockly/MicroPython)
-
-[Official Website](http://www.m5stack.com)
-[Introdction](#main)
-[Quick Start](/en/quick_start)
diff --git a/docs/index.html b/docs/index.html
index 73faafab..e657a595 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -22,7 +22,6 @@
// -----------------------------------------------------------------
name : 'M5Stack docs',
repo : 'https://github.com/m5stack/m5-docs',
- // coverpage : 'coverpage.md',
homepage : 'index.md',
loadNavbar : 'navbar.md',
loadSidebar: 'sidebar.md',
@@ -36,14 +35,13 @@
},
// NAVIGATION
// -----------------------------------------------------------------
- alias: {
+ alias: { //重定向
'/en/sidebar.md': '/sidebar.md',
'/en/.*/sidebar.md': '/sidebar.md',
'/zh_CN/.*/sidebar.md': '/zh_CN/sidebar.md',
'/ja/.*/sidebar.md': '/ja/sidebar.md',
'/.*/navbar.md': '/navbar.md',
'/en/': '/',
- '/.*/sw.js': '/sw.js'
},
auto2top : true,
mergeNavbar: true,
@@ -51,26 +49,8 @@
subMaxLevel: 3,
basePath: '/',
formatUpdated: '{MM}/{DD} {HH}:{mm}',
- // PLUGINS
- // -----------------------------------------------------------------
executeScript: true,
ga : 'UA-131246469-2',
- // search: 'auto', // default
- // search: {
- // maxAge: 43200000,
- // placeholder: {
- // '/zh_CN/': '搜索',
- // '/ja/': '検索',
- // '/': 'Search'
- // },
- // noData: {
- // '/zh_CN/': '找不到结果',
- // '/ja/': '見つかりませんでした',
- // '/': 'No Results'
- // }
- // },
- // depth: 3,
- // hideOtherSidebarContent: false // whether or not to hide other sidebar content
};