Init
This commit is contained in:
80
docs/index.html
Normal file
80
docs/index.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>eufy-security-client - A shared library to control Eufy Security devices</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="description" content="eufy-security-client - A shared library to control Eufy Security devices">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/docsify-themeable/style.min.css" type="text/css">
|
||||
|
||||
<!-- docsify-themeable styles-->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css" title="light">
|
||||
<link rel="stylesheet alternative" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css" title="dark">
|
||||
<style>
|
||||
:root {
|
||||
--theme-color : #4294B7;
|
||||
--cover-link-text-decoration-color : #4294B7;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script>
|
||||
window.$docsify = {
|
||||
name: 'eufy-security-client',
|
||||
repo: 'https://github.com/bropat/eufy-security-client',
|
||||
auto2top: true,
|
||||
coverpage: true,
|
||||
loadSidebar: true,
|
||||
loadNavbar: false,
|
||||
mergeNavbar: true,
|
||||
maxLevel: 4,
|
||||
subMaxLevel: 2,
|
||||
search: {
|
||||
noData: {
|
||||
'/': 'No results!',
|
||||
},
|
||||
paths: 'auto',
|
||||
placeholder: {
|
||||
'/': 'Search',
|
||||
},
|
||||
},
|
||||
coverpage: ['/']
|
||||
}
|
||||
</script>
|
||||
<!-- Docsify v4 -->
|
||||
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/js/docsify-themeable.min.js"></script>
|
||||
<script>
|
||||
(function () {
|
||||
function create() {
|
||||
return (hook) => {
|
||||
const TARGET_QUERY = 'id';
|
||||
const SCROLL_DELAY = 500;
|
||||
|
||||
hook.doneEach(function () {
|
||||
if (!location.hash.includes('?')) return;
|
||||
let searchParams = new URLSearchParams(location.hash.split('?')[1]);
|
||||
let header = document.querySelector('#' + searchParams.get(TARGET_QUERY));
|
||||
header && setTimeout(() => header.scrollIntoView(), SCROLL_DELAY);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
if (typeof $docsify === 'object') {
|
||||
$docsify.plugins = [].concat(create(), $docsify.plugins);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<script
|
||||
src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/docsify-themeable/main.min.js"
|
||||
type="text/javascript">
|
||||
</script>
|
||||
<script
|
||||
src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/docsify-themeable/index.min.js"
|
||||
type="text/javascript">
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user