Skip to content

Commit f5dd61f

Browse files
chore: Fix missing carbon (#1501)
Co-authored-by: John Hildenbiddle <jhildenbiddle@users.noreply.github.com>
1 parent 8cda078 commit f5dd61f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555

5656
<body>
5757
<div id="app">Loading ...</div>
58+
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1/index.js"></script>
5859
<script>
5960
// Set html "lang" attribute based on URL
6061
var lang = location.hash.match(/#\/(de-de|es|ru-ru|zh-cn)\//);
@@ -165,6 +166,7 @@
165166
},
166167
},
167168
plugins: [
169+
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
168170
function(hook, vm) {
169171
hook.beforeEach(function(html) {
170172
if (/githubusercontent\.com/.test(vm.route.file)) {
@@ -207,7 +209,6 @@
207209
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-markdown.min.js"></script>
208210
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-nginx.min.js"></script>
209211
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-php.min.js"></script>
210-
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1/index.min.js"></script>
211212
<script>
212213
(function() {
213214
function loadJS(src, attrs) {

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<link rel="stylesheet" href="/themes/dark.css" title="dark" disabled />
1010
<link rel="stylesheet" href="/themes/buble.css" title="buble" disabled />
1111
<link rel="stylesheet" href="/themes/pure.css" title="pure" disabled />
12-
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1.0.1/index.min.js"></script>
1312
<style>
1413
nav.app-nav li ul {
1514
min-width: 100px;
@@ -24,6 +23,7 @@
2423

2524
<body>
2625
<div id="app"></div>
26+
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1/index.min.js"></script>
2727
<script>
2828
// Set html "lang" attribute based on URL
2929
var lang = location.hash.match(/#\/(de-de|es|ru-ru|zh-cn)\//);

0 commit comments

Comments
 (0)