mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-03 04:53:50 +00:00
add edit on github in md
This commit is contained in:
parent
12c101a122
commit
fcb3864558
@ -11,7 +11,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
name: '',
|
name: '',
|
||||||
repo: '',
|
repo: '',
|
||||||
@ -24,13 +27,16 @@
|
|||||||
paths: 'auto',
|
paths: 'auto',
|
||||||
placeholder: "搜索",
|
placeholder: "搜索",
|
||||||
hideOtherSidebarContent: true, // whether or not to hide other sidebar content
|
hideOtherSidebarContent: true, // whether or not to hide other sidebar content
|
||||||
}
|
},
|
||||||
|
plugins: [
|
||||||
|
EditOnGithubPlugin.create("https://github.com/cnlh/nps/tree/master/docs/", "", "在github上编辑"),
|
||||||
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
|
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
|
||||||
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
|
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
|
||||||
<script src="//unpkg.com/docsify-copy-code"></script>
|
<script src="//unpkg.com/docsify-copy-code"></script>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user