Compare commits
No commits in common. "354e519ae95c715ca4ea31758c790d8fcd67f1d1" and "df7c1dbbf69906cc6769da79d21498b6207ee0c3" have entirely different histories.
354e519ae9
...
df7c1dbbf6
|
@ -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.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,7 +278,6 @@ 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,6 +637,7 @@ 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,13 +288,17 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||
'path': `resources/aos/${lastVersion}/${file}`,
|
||||
'bundle': ''
|
||||
};
|
||||
} else if (Regex.DOCSIFY.test(channelPath)) {
|
||||
} 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': channelPath.split('@')[1],
|
||||
'path': `resources/docsify/${lastVersion}/docsify.min.jsm`,
|
||||
'versionRequested': 'latest',
|
||||
'path': `resources/docsify/${lastVersion}/themes/${theme}`,
|
||||
'bundle': ''
|
||||
};
|
||||
}
|
||||
|
|
|
@ -514,6 +514,11 @@ 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>Fixed</p>
|
||||
<p>Added</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