1 Star 0 Fork 8

jqmtony/HBuilderX

forked from keonjeo/HBuilderX 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 4.55 KB
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HBuilderX插件开发指南</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="HBuilderX:极客开发工具">
<meta name="keywords" content="DCloud,数字天堂,数字天堂网络,数字天堂(北京)网络技术有限公司,HBuilder,HX,HBX,HBuilderX插件开发指南,插件开发,插件,插件市场,插件开发指南,插件API,HBuilderX API,Extension API">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="//hx.dcloud.net.cn/static/favicon/favicon.png">
<link rel="stylesheet" href="/static/vue.css">
<link rel="stylesheet" href="/static/index.min.css?v=1586316635415">
</head>
<body>
<div id="app">Please wait...</div>
<script>
// docsify config start
window.$docsify = {
alias: {
'/.*/_navbar.md': '/_navbar.md',
'/(.*)/.*/_sidebar.md': '/$1/_sidebar.md',
},
name: 'extension-docs',
// TODO 如需提交,必须改为 history 模式
routerMode: 'history',
// routerMode: 'hash',
repo: false,
coverpage: false,
loadSidebar: true,
loadNavbar: true,
auto2top: true,
mdCache: 7200000,
search: {
maxAge: 7200000,
paths: [
'/ExtensionDocs/Api/README',
'/ExtensionDocs/ContributionPoints/README',
'/ExtensionDocs/manifest',
'/ExtensionDocs/activation_event',
'/HowToInstall',
'/HowToPublish',
'/menus',
'/commands',
'/extension',
'/firstExtension',
'/',
'/texteditor',
'/validations',
'/views'
],
placeholder: '搜索',
noData: '没有结果',
depth: 6
},
maxLevel: 4,
subMaxLevel: 3,
banner: ['/case'],
plugins: [
function(hook, vm) {
hook.afterEach(function(html) {
var url = '//github.com/dcloudio/hbuilderx-extension-docs/tree/master' + vm.route.file
return html + '<hr align=center color=#987cb9 size=1>发现错误?想参与编辑?<a href=' + url + ' target=_blank>在 GitHub 上编辑此页面!</a>'
})
}
]
}
// docsify config end
</script>
<script src="/static/docsify.min.js?v=1586316635415"></script>
<script src="/static/search.min.js?v=1586316635415"></script>
<script src="/static/preview.min.js?v=1586316635415"></script>
<!-- <script src="//unpkg.com/docsify/lib/docsify.min.js"></script> -->
<!-- <script src="//unpkg.com/docsify/lib/plugins/search.js"></script> -->
<script src="/static/emoji.js"></script>
<script src="/static/external-script.js"></script>
<script src="/static/docsify-copy-code.min.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?6f4a415d4c67e59e4d5f5e8546092f14";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
window.addEventListener("click", function(e) {
var target = e.target;
if (target.className === "chapter") { //左侧导航的折叠
var chapterParent = target.parentElement;
var summary = localStorage.getItem("summary") ? JSON.parse(localStorage.getItem(
"summary")) : {};
var level = chapterParent.dataset.level;
if (chapterParent.classList.contains("close")) {
summary[level] = false;
chapterParent.classList.remove("close");
} else {
summary[level] = true;
chapterParent.classList.add("close");
}
localStorage.setItem("summary", JSON.stringify(summary))
return;
}
if (target.tagName === "IMG" && target.className !== "preview-img") {
var src = target.src,
showImg = true;
while (target && target !== document) {
if (target.tagName == 'A') {
showImg = false;
break;
}
target = target.parentNode
}
if (showImg && src) {
var preview = new $docsify.Preview(src);
preview.show();
return
}
}
}, true)
})();
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/jqmtony/HBuilderX.git
git@gitee.com:jqmtony/HBuilderX.git
jqmtony
HBuilderX
HBuilderX
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385