From 241d8fedd8eec556a3d1ad7ca46f2ffd841e2835 Mon Sep 17 00:00:00 2001 From: LiHuashen <854410664@qq.com> Date: Mon, 6 May 2019 14:53:25 +0800 Subject: [PATCH] add list for illiustrating docs directory tree --- docs/_redirects | 4 -- docs/coverpage.md | 11 --- docs/index.html | 22 +----- docs/ja/README_ja.md | 2 +- docs/sw.js | 83 --------------------- docs/zh_CN/README_zh_CN.md | 2 +- docs/zh_CN/module/plus.md | 4 ++ list.txt | 143 +++++++++++++++++++++++++++++++++++++ sw.js | 83 --------------------- 9 files changed, 150 insertions(+), 204 deletions(-) delete mode 100644 docs/_redirects delete mode 100644 docs/coverpage.md delete mode 100644 docs/sw.js create mode 100644 list.txt delete mode 100644 sw.js 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 };