From dfd189ee0585a81eb27867fc747de02d81b947c8 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 4 Nov 2021 14:19:02 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Rename=20vendor=20directory=20to?= =?UTF-8?q?=20lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ assets/{vendor => lib}/chart/chart.min.js | 0 assets/{vendor => lib}/katex/auto-render.min.js | 0 .../katex/fonts/KaTeX_AMS-Regular.ttf | Bin .../katex/fonts/KaTeX_AMS-Regular.woff | Bin .../katex/fonts/KaTeX_AMS-Regular.woff2 | Bin .../katex/fonts/KaTeX_Caligraphic-Bold.ttf | Bin .../katex/fonts/KaTeX_Caligraphic-Bold.woff | Bin .../katex/fonts/KaTeX_Caligraphic-Bold.woff2 | Bin .../katex/fonts/KaTeX_Caligraphic-Regular.ttf | Bin .../katex/fonts/KaTeX_Caligraphic-Regular.woff | Bin .../katex/fonts/KaTeX_Caligraphic-Regular.woff2 | Bin .../katex/fonts/KaTeX_Fraktur-Bold.ttf | Bin .../katex/fonts/KaTeX_Fraktur-Bold.woff | Bin .../katex/fonts/KaTeX_Fraktur-Bold.woff2 | Bin .../katex/fonts/KaTeX_Fraktur-Regular.ttf | Bin .../katex/fonts/KaTeX_Fraktur-Regular.woff | Bin .../katex/fonts/KaTeX_Fraktur-Regular.woff2 | Bin .../katex/fonts/KaTeX_Main-Bold.ttf | Bin .../katex/fonts/KaTeX_Main-Bold.woff | Bin .../katex/fonts/KaTeX_Main-Bold.woff2 | Bin .../katex/fonts/KaTeX_Main-BoldItalic.ttf | Bin .../katex/fonts/KaTeX_Main-BoldItalic.woff | Bin .../katex/fonts/KaTeX_Main-BoldItalic.woff2 | Bin .../katex/fonts/KaTeX_Main-Italic.ttf | Bin .../katex/fonts/KaTeX_Main-Italic.woff | Bin .../katex/fonts/KaTeX_Main-Italic.woff2 | Bin .../katex/fonts/KaTeX_Main-Regular.ttf | Bin .../katex/fonts/KaTeX_Main-Regular.woff | Bin .../katex/fonts/KaTeX_Main-Regular.woff2 | Bin .../katex/fonts/KaTeX_Math-BoldItalic.ttf | Bin .../katex/fonts/KaTeX_Math-BoldItalic.woff | Bin .../katex/fonts/KaTeX_Math-BoldItalic.woff2 | Bin .../katex/fonts/KaTeX_Math-Italic.ttf | Bin .../katex/fonts/KaTeX_Math-Italic.woff | Bin .../katex/fonts/KaTeX_Math-Italic.woff2 | Bin .../katex/fonts/KaTeX_SansSerif-Bold.ttf | Bin .../katex/fonts/KaTeX_SansSerif-Bold.woff | Bin .../katex/fonts/KaTeX_SansSerif-Bold.woff2 | Bin .../katex/fonts/KaTeX_SansSerif-Italic.ttf | Bin .../katex/fonts/KaTeX_SansSerif-Italic.woff | Bin .../katex/fonts/KaTeX_SansSerif-Italic.woff2 | Bin .../katex/fonts/KaTeX_SansSerif-Regular.ttf | Bin .../katex/fonts/KaTeX_SansSerif-Regular.woff | Bin .../katex/fonts/KaTeX_SansSerif-Regular.woff2 | Bin .../katex/fonts/KaTeX_Script-Regular.ttf | Bin .../katex/fonts/KaTeX_Script-Regular.woff | Bin .../katex/fonts/KaTeX_Script-Regular.woff2 | Bin .../katex/fonts/KaTeX_Size1-Regular.ttf | Bin .../katex/fonts/KaTeX_Size1-Regular.woff | Bin .../katex/fonts/KaTeX_Size1-Regular.woff2 | Bin .../katex/fonts/KaTeX_Size2-Regular.ttf | Bin .../katex/fonts/KaTeX_Size2-Regular.woff | Bin .../katex/fonts/KaTeX_Size2-Regular.woff2 | Bin .../katex/fonts/KaTeX_Size3-Regular.ttf | Bin .../katex/fonts/KaTeX_Size3-Regular.woff | Bin .../katex/fonts/KaTeX_Size3-Regular.woff2 | Bin .../katex/fonts/KaTeX_Size4-Regular.ttf | Bin .../katex/fonts/KaTeX_Size4-Regular.woff | Bin .../katex/fonts/KaTeX_Size4-Regular.woff2 | Bin .../katex/fonts/KaTeX_Typewriter-Regular.ttf | Bin .../katex/fonts/KaTeX_Typewriter-Regular.woff | Bin .../katex/fonts/KaTeX_Typewriter-Regular.woff2 | Bin assets/{vendor => lib}/katex/katex.min.css | 0 assets/{vendor => lib}/katex/katex.min.js | 0 assets/{vendor => lib}/mermaid/mermaid.min.js | 0 layouts/partials/vendor.html | 15 ++++++++------- package.json | 12 ++++++------ 68 files changed, 18 insertions(+), 13 deletions(-) rename assets/{vendor => lib}/chart/chart.min.js (100%) rename assets/{vendor => lib}/katex/auto-render.min.js (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_AMS-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_AMS-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_AMS-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Bold.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Bold.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Bold.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Bold.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Bold.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Bold.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Bold.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Bold.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Bold.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-BoldItalic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-BoldItalic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-BoldItalic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Italic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Italic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Italic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-BoldItalic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-BoldItalic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-BoldItalic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-Italic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-Italic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-Italic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Bold.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Bold.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Bold.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Italic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Italic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Italic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Script-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Script-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Script-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size1-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size1-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size1-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size2-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size2-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size2-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size3-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size3-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size3-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size4-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size4-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size4-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Typewriter-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Typewriter-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Typewriter-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/katex.min.css (100%) rename assets/{vendor => lib}/katex/katex.min.js (100%) rename assets/{vendor => lib}/mermaid/mermaid.min.js (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index d306d744..4666280d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- Hugo failing to build site when deploying as a module + ## [1.5.0] - 2021-11-04 ### Added diff --git a/assets/vendor/chart/chart.min.js b/assets/lib/chart/chart.min.js similarity index 100% rename from assets/vendor/chart/chart.min.js rename to assets/lib/chart/chart.min.js diff --git a/assets/vendor/katex/auto-render.min.js b/assets/lib/katex/auto-render.min.js similarity index 100% rename from assets/vendor/katex/auto-render.min.js rename to assets/lib/katex/auto-render.min.js diff --git a/assets/vendor/katex/fonts/KaTeX_AMS-Regular.ttf b/assets/lib/katex/fonts/KaTeX_AMS-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_AMS-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_AMS-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_AMS-Regular.woff b/assets/lib/katex/fonts/KaTeX_AMS-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_AMS-Regular.woff rename to assets/lib/katex/fonts/KaTeX_AMS-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_AMS-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_AMS-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.ttf b/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.ttf rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff b/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 b/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff b/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.ttf b/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.ttf rename to assets/lib/katex/fonts/KaTeX_Fraktur-Bold.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff b/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff rename to assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 b/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 rename to assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Fraktur-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff b/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Bold.ttf b/assets/lib/katex/fonts/KaTeX_Main-Bold.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Bold.ttf rename to assets/lib/katex/fonts/KaTeX_Main-Bold.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Bold.woff b/assets/lib/katex/fonts/KaTeX_Main-Bold.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Bold.woff rename to assets/lib/katex/fonts/KaTeX_Main-Bold.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Bold.woff2 b/assets/lib/katex/fonts/KaTeX_Main-Bold.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Bold.woff2 rename to assets/lib/katex/fonts/KaTeX_Main-Bold.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.ttf b/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.ttf rename to assets/lib/katex/fonts/KaTeX_Main-BoldItalic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff b/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff rename to assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 b/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 rename to assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Italic.ttf b/assets/lib/katex/fonts/KaTeX_Main-Italic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Italic.ttf rename to assets/lib/katex/fonts/KaTeX_Main-Italic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Italic.woff b/assets/lib/katex/fonts/KaTeX_Main-Italic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Italic.woff rename to assets/lib/katex/fonts/KaTeX_Main-Italic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Italic.woff2 b/assets/lib/katex/fonts/KaTeX_Main-Italic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Italic.woff2 rename to assets/lib/katex/fonts/KaTeX_Main-Italic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Main-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Main-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Regular.woff b/assets/lib/katex/fonts/KaTeX_Main-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Main-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Main-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Main-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.ttf b/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.ttf rename to assets/lib/katex/fonts/KaTeX_Math-BoldItalic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff b/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff rename to assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 b/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 rename to assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Math-Italic.ttf b/assets/lib/katex/fonts/KaTeX_Math-Italic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-Italic.ttf rename to assets/lib/katex/fonts/KaTeX_Math-Italic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Math-Italic.woff b/assets/lib/katex/fonts/KaTeX_Math-Italic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-Italic.woff rename to assets/lib/katex/fonts/KaTeX_Math-Italic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Math-Italic.woff2 b/assets/lib/katex/fonts/KaTeX_Math-Italic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-Italic.woff2 rename to assets/lib/katex/fonts/KaTeX_Math-Italic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.ttf b/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.ttf rename to assets/lib/katex/fonts/KaTeX_SansSerif-Bold.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff b/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff rename to assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 b/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 rename to assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.ttf b/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.ttf rename to assets/lib/katex/fonts/KaTeX_SansSerif-Italic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff b/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff rename to assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 b/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 rename to assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.ttf b/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_SansSerif-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff b/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff rename to assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Script-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Script-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Script-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Script-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Script-Regular.woff b/assets/lib/katex/fonts/KaTeX_Script-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Script-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Script-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Script-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Script-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Script-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Script-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Size1-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Size1-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size1-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Size1-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Size1-Regular.woff b/assets/lib/katex/fonts/KaTeX_Size1-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size1-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Size1-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Size1-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Size1-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Size2-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Size2-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size2-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Size2-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Size2-Regular.woff b/assets/lib/katex/fonts/KaTeX_Size2-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size2-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Size2-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Size2-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Size2-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Size3-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Size3-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size3-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Size3-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Size3-Regular.woff b/assets/lib/katex/fonts/KaTeX_Size3-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size3-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Size3-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Size3-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Size3-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Size4-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Size4-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size4-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Size4-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Size4-Regular.woff b/assets/lib/katex/fonts/KaTeX_Size4-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size4-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Size4-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Size4-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Size4-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Typewriter-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff b/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff2 diff --git a/assets/vendor/katex/katex.min.css b/assets/lib/katex/katex.min.css similarity index 100% rename from assets/vendor/katex/katex.min.css rename to assets/lib/katex/katex.min.css diff --git a/assets/vendor/katex/katex.min.js b/assets/lib/katex/katex.min.js similarity index 100% rename from assets/vendor/katex/katex.min.js rename to assets/lib/katex/katex.min.js diff --git a/assets/vendor/mermaid/mermaid.min.js b/assets/lib/mermaid/mermaid.min.js similarity index 100% rename from assets/vendor/mermaid/mermaid.min.js rename to assets/lib/mermaid/mermaid.min.js diff --git a/layouts/partials/vendor.html b/layouts/partials/vendor.html index 1932f8b2..80244d6e 100644 --- a/layouts/partials/vendor.html +++ b/layouts/partials/vendor.html @@ -1,7 +1,8 @@ {{/* Mermaid */}} {{ if .Page.HasShortcode "mermaid" }} - {{ $mermaidJS := resources.Get "vendor/mermaid/mermaid.min.js" }} - {{ $mermaidJS := $mermaidJS | resources.Fingerprint "sha512" }} + {{ $mermaidJS := resources.Get "lib/mermaid/mermaid.min.js" }} + {{ $mermaidJS := $mermaidJS | resources.Fingerprint "sha512" }} + - {{ $katexRenderJS := resources.Get "vendor/katex/auto-render.min.js" }} + {{ $katexRenderJS := resources.Get "lib/katex/auto-render.min.js" }} {{ $katexRenderJS := $katexRenderJS | resources.Fingerprint "sha512" }} - {{ $katexFonts := resources.Match "vendor/katex/fonts/*" }} + {{ $katexFonts := resources.Match "lib/katex/fonts/*" }} {{ range $katexFonts }} {{ end }} diff --git a/package.json b/package.json index f3faed3a..7c71eeeb 100644 --- a/package.json +++ b/package.json @@ -43,27 +43,27 @@ "devVendorCopy": [ { "from": "node_modules/mermaid/dist/mermaid.min.js", - "to": "assets/vendor/mermaid/mermaid.min.js" + "to": "assets/lib/mermaid/mermaid.min.js" }, { "from": "node_modules/chart.js/dist/chart.min.js", - "to": "assets/vendor/chart/chart.min.js" + "to": "assets/lib/chart/chart.min.js" }, { "from": "node_modules/katex/dist/katex.min.js", - "to": "assets/vendor/katex/katex.min.js" + "to": "assets/lib/katex/katex.min.js" }, { "from": "node_modules/katex/dist/katex.min.css", - "to": "assets/vendor/katex/katex.min.css" + "to": "assets/lib/katex/katex.min.css" }, { "from": "node_modules/katex/dist/contrib/auto-render.min.js", - "to": "assets/vendor/katex/auto-render.min.js" + "to": "assets/lib/katex/auto-render.min.js" }, { "from": "node_modules/katex/dist/fonts/", - "to": "assets/vendor/katex/fonts/" + "to": "assets/lib/katex/fonts/" } ] }