From a1e794090863cd368497f2867e86830c4fa756bc Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 4 Mar 2022 06:32:00 +0100 Subject: [PATCH] docsify-themeable v0.8.6 (#890) --- THIRD_PARTY.txt | 3 +++ audit/audit.sh | 2 ++ core/mappings.js | 3 +++ core/resources.js | 10 ++++++++++ modules/internal/targets.js | 4 ++++ pages/updates/updates.html | 1 + resources/docsify-themeable/0.8.6/theme-defaults.css | 2 ++ .../docsify-themeable/0.8.6/theme-simple-dark.css | 2 ++ resources/docsify-themeable/0.8.6/theme-simple.css | 2 ++ 9 files changed, 29 insertions(+) create mode 100644 resources/docsify-themeable/0.8.6/theme-defaults.css create mode 100644 resources/docsify-themeable/0.8.6/theme-simple-dark.css create mode 100644 resources/docsify-themeable/0.8.6/theme-simple.css diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index 97f9ca30..1b2fb10b 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1721,6 +1721,9 @@ https://cdn.jsdelivr.net/npm/angular-stripe-checkout@5.1.0/angular-stripe-checko https://cdn.jsdelivr.net/npm/appboy-web-sdk@3.5.0/appboy.min.js https://cdn.jsdelivr.net/npm/@babel/standalone@7.14.6/babel.min.js https://cdn.jsdelivr.net/npm/chart.js@3.7.1/dist/chart.min.js +https://cdn.jsdelivr.net/npm/docsify-themeable@0.8.6/dist/css/theme-defaults.css +https://cdn.jsdelivr.net/npm/docsify-themeable@0.8.6/dist/css/theme-simple.css +https://cdn.jsdelivr.net/npm/docsify-themeable@0.8.6/dist/css/theme-simple-dark.css https://cdn.jsdelivr.net/npm/ethjs@0.4.0/dist/ethjs.min.js https://cdn.jsdelivr.net/npm/@findify/bundle@6.17.0/dist/autocomplete.js https://cdn.jsdelivr.net/npm/@findify/bundle@6.17.0/dist/bundle.js diff --git a/audit/audit.sh b/audit/audit.sh index f9853ed0..f092fcf3 100755 --- a/audit/audit.sh +++ b/audit/audit.sh @@ -701,6 +701,8 @@ function create_url() { url="$CLOUDFLARE/$folder/$version/dygraph-combined.js" elif [ "$folder" = "mootools" ] && [ "$version" = "1.4.5" ];then url="$CLOUDFLARE/$folder/$version/mootools-core-full-compat-yc.min.js" + elif [ "$folder" = "docsify-themeable" ];then + url="$JSDELIVR/npm/$folder@$version/dist/css/$jfile" # -------------------------------------------------------------------------- # TODO: REMOVE WHEN CDNJS.COM AUTO UPDATE BOT IS FULLY FUNCTIONAL AGAIN elif [ "$folder" = "noUiSlider" ] && [ "$version" != "14.7.0" ];then diff --git a/core/mappings.js b/core/mappings.js index cf7bb85b..8ac7a0ff 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -553,6 +553,9 @@ mappings.cdn = { 'docsify@{version}/lib/docsify.js': resources.docsify, 'docsify/lib/docsify.min.js': resources.docsify, 'docsify/lib/docsify.js': resources.docsify, + '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, 'dojo@{version}/dojo.': resources.dojo, 'ember-source@{version}/dist/ember.': resources.ember, 'ember-source@{version}/dist/ember.min.': resources.ember, diff --git a/core/resources.js b/core/resources.js index 1125816c..e8ce1dff 100644 --- a/core/resources.js +++ b/core/resources.js @@ -354,6 +354,16 @@ var resources = { 'docsify': { 'path': 'resources/docsify/{version}/docsify.min.jsm' }, + // docsify themes + 'docsifyThemeDefault': { + 'path': 'resources/docsify-themeable/{version}/theme-default.css' + }, + 'docsifyThemeSimple': { + 'path': 'resources/docsify-themeable/{version}/theme-simple.css' + }, + 'docsifyThemeSimpleDark': { + 'path': 'resources/docsify-themeable/{version}/theme-simple-dark.css' + }, // Dojo 'dojo': { 'path': 'resources/dojo/{version}/dojo/dojo.jsm' diff --git a/modules/internal/targets.js b/modules/internal/targets.js index e70a6f18..7ec7f3bb 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -177,6 +177,7 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/dexie/3.') || type.startsWith('/dexie/latest')) return '3.2.1'; if (type.startsWith('/docsearch.js/2.')) return '2.6.3'; if (type.startsWith('/docsify/4.') || type.startsWith('/docsify/')) return '4.12.2'; + if (type.startsWith('/docsify-themeable/0.')) return '0.8.6'; if (type.startsWith('/dojo/1.')) return '1.17.0'; if (type.startsWith('/drawer/3.')) return '3.2.2'; if (type.startsWith('/dygraph/1.')) return '1.1.1'; @@ -435,6 +436,9 @@ targets.determineResourceName = function (filename) { }; const ListOfFiles = { + 'theme-defaults.css': 'docsify theme', + 'theme-simple.css': 'docsify theme', + 'theme-simple-dark.css': 'docsify theme', 'docsify.min.jsm': 'docsify', 'foundation.min.jsm': 'foundation (JS)', 'foundation.min.css': 'foundation (CSS)', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 959afd85..1705baea 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -59,6 +59,7 @@
  • asciinema-player v2.6.1 (#881)
  • showdown v2.0.0 (#888)
  • docsify v4.12.2 (#890)
  • +
  • docsify-themeable v0.8.6 (#890)
  • Fixed