Add docsify themes (#1623)
This commit is contained in:
parent
0e0bd4172e
commit
16aed7ebc0
|
@ -333,6 +333,11 @@ https://cdnjs.cloudflare.com/ajax/libs/dexie/3.2.6/dexie.min.js
|
||||||
https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.css
|
https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.css
|
||||||
https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.js
|
https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.js
|
||||||
https://cdnjs.cloudflare.com/ajax/libs/docsify/4.13.1/docsify.min.js
|
https://cdnjs.cloudflare.com/ajax/libs/docsify/4.13.1/docsify.min.js
|
||||||
|
https://cdnjs.cloudflare.com/ajax/libs/docsify/4.13.1/themes/buble.min.css
|
||||||
|
https://cdnjs.cloudflare.com/ajax/libs/docsify/4.13.1/themes/dark.min.css
|
||||||
|
https://cdnjs.cloudflare.com/ajax/libs/docsify/4.13.1/themes/dolphin.min.css
|
||||||
|
https://cdnjs.cloudflare.com/ajax/libs/docsify/4.13.1/themes/pure.min.css
|
||||||
|
https://cdnjs.cloudflare.com/ajax/libs/docsify/4.13.1/themes/vue.min.css
|
||||||
https://cdnjs.cloudflare.com/ajax/libs/drawer/3.2.2/css/drawer.min.css
|
https://cdnjs.cloudflare.com/ajax/libs/drawer/3.2.2/css/drawer.min.css
|
||||||
https://cdnjs.cloudflare.com/ajax/libs/drawer/3.2.2/js/drawer.min.js
|
https://cdnjs.cloudflare.com/ajax/libs/drawer/3.2.2/js/drawer.min.js
|
||||||
https://cdnjs.cloudflare.com/ajax/libs/dygraph/1.1.1/dygraph-combined.js
|
https://cdnjs.cloudflare.com/ajax/libs/dygraph/1.1.1/dygraph-combined.js
|
||||||
|
|
|
@ -288,6 +288,19 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
||||||
'path': `resources/aos/${lastVersion}/${file}`,
|
'path': `resources/aos/${lastVersion}/${file}`,
|
||||||
'bundle': ''
|
'bundle': ''
|
||||||
};
|
};
|
||||||
|
} else if (CompleteURL.startsWith('unpkg.com/docsify/lib/themes/')) {
|
||||||
|
let theme = CompleteURL.split('/').pop();
|
||||||
|
lastVersion = targets.setLastVersion('/docsify/');
|
||||||
|
if (!theme.includes('.min.')) {
|
||||||
|
theme = theme.replace('.css', '.min.css');
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
'source': channelHost,
|
||||||
|
'versionDelivered': lastVersion,
|
||||||
|
'versionRequested': 'latest',
|
||||||
|
'path': `resources/docsify/${lastVersion}/themes/${theme}`,
|
||||||
|
'bundle': ''
|
||||||
|
};
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
'result': false,
|
'result': false,
|
||||||
|
|
|
@ -514,6 +514,11 @@ targets.determineResourceName = function (filename) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const ListOfFiles = {
|
const ListOfFiles = {
|
||||||
|
'buble.min.css': 'docsify Theme (buble)',
|
||||||
|
'dark.min.css': 'docsify Theme (dark)',
|
||||||
|
'dolphin.min.css': 'docsify Theme (dolphin)',
|
||||||
|
'pure.min.css': 'docsify Theme (pure)',
|
||||||
|
'vue.min.css': 'docsify Theme (vue)',
|
||||||
'supabase.min.jsm': 'supabase-js',
|
'supabase.min.jsm': 'supabase-js',
|
||||||
'handlebars.min.jsm': 'handlebars.js',
|
'handlebars.min.jsm': 'handlebars.js',
|
||||||
'URI.min.jsm': 'URI.js',
|
'URI.min.jsm': 'URI.js',
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
<li>Support wildcard TLD in all lists (<a href="https://codeberg.org/nobody/LocalCDN/issues/1622">#1622</a>)</li>
|
<li>Support wildcard TLD in all lists (<a href="https://codeberg.org/nobody/LocalCDN/issues/1622">#1622</a>)</li>
|
||||||
<li>Fixed incorrect description in the settings (<a href="https://codeberg.org/nobody/LocalCDN/issues/1622">#1622</a>)</li>
|
<li>Fixed incorrect description in the settings (<a href="https://codeberg.org/nobody/LocalCDN/issues/1622">#1622</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<p>Added</p>
|
||||||
|
<ul>
|
||||||
|
<li>docsify themes (<a href="https://codeberg.org/nobody/LocalCDN/issues/1623">#1623</a>)</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
<div class="topic-label">
|
<div class="topic-label">
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue