Skip to content

Commit 8a4cedd

Browse files
committed
replaced unpkg cdn with jsdelivr
1 parent a3b7b66 commit 8a4cedd

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ Create an `index.html`.
4141
<html>
4242
<head>
4343
<meta charset="UTF-8">
44-
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
44+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
4545
</head>
4646
<body>
4747
<div id="app"></div>
48+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
4849
</body>
49-
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
5050
</html>
5151
```
5252

docs/index.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<meta name="keywords" content="doc,docs,documentation,gitbook,creator,generator,github,jekyll,github-pages">
88
<meta name="description" content="A magical documentation generator.">
99
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
10-
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" title="vue">
11-
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/dark.css" title="dark" disabled>
12-
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/buble.css" title="buble" disabled>
13-
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/pure.css" title="pure" disabled>
10+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" title="vue">
11+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dark.css" title="dark" disabled>
12+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/buble.css" title="buble" disabled>
13+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/pure.css" title="pure" disabled>
1414
<style>
1515
nav.app-nav li ul {
1616
min-width: 100px;
@@ -66,9 +66,9 @@
6666
]
6767
}
6868
</script>
69-
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
70-
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
71-
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
72-
<script src="//unpkg.com/prismjs/components/prism-markdown.min.js"></script>
73-
<script src="//unpkg.com/prismjs/components/prism-nginx.min.js"></script>
69+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
70+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
71+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-bash.min.js"></script>
72+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-markdown.min.js"></script>
73+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-nginx.min.js"></script>
7474
</html>

0 commit comments

Comments
 (0)