From e04d7e4d1d89c06bd510b249033c85eed52ba76d Mon Sep 17 00:00:00 2001 From: nobody Date: Mon, 18 Mar 2024 16:59:57 +0100 Subject: [PATCH] Revert "Add docsify themes (#1623)" --- THIRD_PARTY.txt | 5 ----- core/shorthands.js | 13 ------------- modules/internal/targets.js | 5 ----- pages/updates/updates.html | 4 ---- resources/docsify/4.13.1/themes/buble.min.css | 1 - resources/docsify/4.13.1/themes/dark.min.css | 1 - resources/docsify/4.13.1/themes/dolphin.min.css | 1 - resources/docsify/4.13.1/themes/pure.min.css | 1 - resources/docsify/4.13.1/themes/vue.min.css | 1 - 9 files changed, 32 deletions(-) delete mode 100644 resources/docsify/4.13.1/themes/buble.min.css delete mode 100644 resources/docsify/4.13.1/themes/dark.min.css delete mode 100644 resources/docsify/4.13.1/themes/dolphin.min.css delete mode 100644 resources/docsify/4.13.1/themes/pure.min.css delete mode 100644 resources/docsify/4.13.1/themes/vue.min.css diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index d37526d1..676422ee 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -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 diff --git a/core/shorthands.js b/core/shorthands.js index 2275e989..f80e1271 100644 --- a/core/shorthands.js +++ b/core/shorthands.js @@ -288,19 +288,6 @@ 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(); - 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 { 'result': false, diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 0ef45437..c789407b 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -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', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 2442f087..ffa70d91 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -86,10 +86,6 @@
  • Support wildcard TLD in all lists (#1622)
  • Fixed incorrect description in the settings (#1622)
  • -

    Added

    -

    2023-02-29 (v2.6.64)

    Updated