mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
121 lines
5.4 KiB
HTML
121 lines
5.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no">
|
|
<meta name="description" content="A delightfully simple theme system for docsify.js. Features multiple themes with rich customization options, an improved desktop and mobile experience, and legacy browser support (IE10+).">
|
|
<meta name="google-site-verification" content="_EWJaM8G6xwMtEqemO4yN8WqSU2CaKVi3jTj0gLg48E">
|
|
<title>M5Stack - A series of modular stackable development devices</title>
|
|
<link rel="icon" href="assets/img/favicon.ico">
|
|
|
|
<!-- Stylesheets -->
|
|
<link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple.css" title="Simple">
|
|
<link rel="stylesheet" href="assets/css/main.css">
|
|
|
|
<!-- Alternate Stylesheets -->
|
|
<!-- <link rel="stylesheet alternate" href="https://unpkg.com/docsify-themeable/dist/css/theme-defaults.css" title="Defaults"> -->
|
|
<!-- <link rel="stylesheet alternate" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple-dark.css" title="Simple Dark"> -->
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app"></div>
|
|
<!-- <nav>
|
|
<a href="#/">EN</a>
|
|
<a href="#/zh-cn/">δΈζ</a>
|
|
</nav> -->
|
|
<!-- JavaScript -->
|
|
<script>
|
|
window.$docsify = {
|
|
// GENERAL
|
|
// -----------------------------------------------------------------
|
|
name : 'M5Stack docs',
|
|
repo : 'https://github.com/m5stack/m5-docs',
|
|
// coverpage : 'coverpage.md',
|
|
homepage : 'index.md',
|
|
loadNavbar : 'navbar.md',
|
|
loadSidebar: 'sidebar.md',
|
|
autoHeader: true,
|
|
mergeNavbar: true, // for mobile device
|
|
nameLink: {
|
|
'/en/': '#/en/',
|
|
'/zh_CN/': '#/zh_CN/',
|
|
'/ja/': '#/ja/',
|
|
'/': '#/'
|
|
},
|
|
// routerMode: 'history', // default: 'hash'
|
|
// NAVIGATION
|
|
// -----------------------------------------------------------------
|
|
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/':'/'
|
|
},
|
|
auto2top : true,
|
|
maxLevel : 1,
|
|
subMaxLevel: 1,
|
|
basePath: 'https://docs.m5stack.com/',
|
|
// PLUGINS
|
|
// -----------------------------------------------------------------
|
|
executeScript: true,
|
|
ga : 'UA-100100910-3',
|
|
search: {
|
|
depth : 1,
|
|
noData : 'No results!',
|
|
placeholder: 'Search...'
|
|
},
|
|
// plugins: [
|
|
// function (hook) {
|
|
// var footer = [
|
|
// '<hr/>',
|
|
// '<footer>',
|
|
// '<span><a href="https://github.com/m5stack">M5Stack</a> ©2017.</span>',
|
|
// '<span>Proudly published with <a href="https://github.com/m5stack/m5-docs" target="_blank">docsify</a>.</span>',
|
|
// '</footer>'
|
|
// ].join('')
|
|
|
|
// hook.afterEach(function (html) {
|
|
// return html + footer
|
|
// })
|
|
// },
|
|
// function(hook, vm) {
|
|
// hook.beforeEach(function (html) {
|
|
// var url = 'https://github.com/m5stack/m5-docs/tree/master/docs/' + vm.route.file
|
|
// var editHtml = '[π EDIT DOCUMENT](' + url + ')\n'
|
|
|
|
// return editHtml
|
|
// + html
|
|
// // + '\n----\n'
|
|
// // + 'Last modified {docsify-updated} '
|
|
// // + editHtml
|
|
// })
|
|
// }
|
|
// ]
|
|
};
|
|
</script>
|
|
<script>
|
|
if (typeof navigator.serviceWorker !== 'undefined') {
|
|
navigator.serviceWorker.register('sw.js')
|
|
}
|
|
</script>
|
|
<script src="assets/js/main.js"></script>
|
|
<script src="https://unpkg.com/docsify/lib/docsify.min.js"></script>
|
|
<script src="https://unpkg.com/docsify-themeable"></script>
|
|
<script src="https://unpkg.com/docsify-tabs"></script>
|
|
<script src="https://unpkg.com/docsify-copy-code"></script>
|
|
<script src="https://unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
|
|
<script src="https://unpkg.com/docsify/lib/plugins/external-script.min.js"></script>
|
|
<script src="https://unpkg.com/docsify/lib/plugins/ga.min.js"></script>
|
|
<script src="https://unpkg.com/docsify/lib/plugins/search.js"></script>
|
|
<script src="https://unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script>
|
|
<script src="https://unpkg.com/prismjs/components/prism-bash.min.js"></script>
|
|
<script src="https://unpkg.com/prismjs/components/prism-php.min.js"></script>
|
|
<script src="https://unpkg.com/prismjs/components/prism-python.min.js"></script>
|
|
<script src="https://unpkg.com/prismjs/components/prism-c.min.js"></script>
|
|
<script src="https://unpkg.com/prismjs/components/prism-cpp.min.js"></script>
|
|
</body>
|
|
</html>
|