Compare commits
2 Commits
df7c1dbbf6
...
354e519ae9
Author | SHA1 | Date |
---|---|---|
nobody | 354e519ae9 | |
nobody | e04d7e4d1d |
|
@ -333,11 +333,6 @@ 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.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/js/drawer.min.js
|
||||
https://cdnjs.cloudflare.com/ajax/libs/dygraph/1.1.1/dygraph-combined.js
|
||||
|
|
|
@ -278,6 +278,7 @@ const Regex = {
|
|||
'INTERNAL_RESOURCES': /resources\/[0-9a-z.-]+\/((?:\d{1,2}\.){1,3}\d{1,2})?.*\.(css|jsm)/,
|
||||
'ISO_DATE': /((2\d)\d{2})-(0[1-9]|1[012])-(0[1-9]|[12]\d|3[01])/,
|
||||
'HEX_COLOR': /#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/,
|
||||
'DOCSIFY': /docsify@(?:\d{1,2}\.){0,3}\d{1,2}(?:-\d)?$/,
|
||||
};
|
||||
|
||||
const MaterialIcons = {
|
||||
|
|
|
@ -637,7 +637,6 @@ mappings.cdn = {
|
|||
'docsify-themeable@{version}/dist/css/theme-defaults.css': resources.docsifyThemeDefault,
|
||||
'docsify-themeable@{version}/dist/css/theme-simple.css': resources.docsifyThemeSimple,
|
||||
'docsify-themeable@{version}/dist/css/theme-simple-dark.css': resources.docsifyThemeSimpleDark,
|
||||
'docsify@{version}': resources.docsify,
|
||||
'ethjs@{version}/dist/ethjs.': resources.ethJs,
|
||||
'exif-js@{version}/exif.': resources.exifJS,
|
||||
'flv.js/dist/flv.min.js': resources.flvJS,
|
||||
|
|
|
@ -288,17 +288,13 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||
'path': `resources/aos/${lastVersion}/${file}`,
|
||||
'bundle': ''
|
||||
};
|
||||
} else if (CompleteURL.startsWith('unpkg.com/docsify/lib/themes/')) {
|
||||
let theme = CompleteURL.split('/').pop();
|
||||
} else if (Regex.DOCSIFY.test(channelPath)) {
|
||||
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}`,
|
||||
'versionRequested': channelPath.split('@')[1],
|
||||
'path': `resources/docsify/${lastVersion}/docsify.min.jsm`,
|
||||
'bundle': ''
|
||||
};
|
||||
}
|
||||
|
|
|
@ -514,11 +514,6 @@ targets.determineResourceName = function (filename) {
|
|||
};
|
||||
|
||||
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',
|
||||
'handlebars.min.jsm': 'handlebars.js',
|
||||
'URI.min.jsm': 'URI.js',
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
<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>
|
||||
</ul>
|
||||
<p>Added</p>
|
||||
<p>Fixed</p>
|
||||
<ul>
|
||||
<li>docsify themes (<a href="https://codeberg.org/nobody/LocalCDN/issues/1623">#1623</a>)</li>
|
||||
</ul>
|
||||
|
|
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