From 4eca92c317722b7e9b2833279f8b89abc4802056 Mon Sep 17 00:00:00 2001 From: Jo David Date: Fri, 20 Oct 2023 19:22:26 +0200 Subject: [PATCH] Documentation - Update jquery, remove polyfills, don't use foundation js (#9519) * update jquery, remove polyfills, don't use foundation js * fix BOM ? * Update workflow to only check `addons` --------- --- .github/workflows/arma.yml | 2 + docs/_includes/_navigation.html | 12 +- docs/css/app.css | 2 +- docs/js/footer.dev.js | 3324 +----------- docs/js/footer.min.js | 2 +- docs/js/footer.min.js.map | 2 +- docs/src/Gruntfile.js | 7 +- docs/src/js/app.js | 11 +- .../js/vendor/foundation/foundation.abide.js | 340 -- .../vendor/foundation/foundation.accordion.js | 67 - .../js/vendor/foundation/foundation.alert.js | 43 - .../vendor/foundation/foundation.clearing.js | 556 -- .../vendor/foundation/foundation.dropdown.js | 448 -- .../vendor/foundation/foundation.equalizer.js | 77 - .../foundation/foundation.interchange.js | 354 -- .../vendor/foundation/foundation.joyride.js | 932 ---- docs/src/js/vendor/foundation/foundation.js | 703 --- .../vendor/foundation/foundation.magellan.js | 203 - .../vendor/foundation/foundation.offcanvas.js | 152 - .../js/vendor/foundation/foundation.orbit.js | 476 -- .../js/vendor/foundation/foundation.reveal.js | 471 -- .../js/vendor/foundation/foundation.slider.js | 263 - .../js/vendor/foundation/foundation.tab.js | 237 - .../vendor/foundation/foundation.tooltip.js | 307 -- .../js/vendor/foundation/foundation.topbar.js | 452 -- docs/src/js/vendor/jquery/jquery-3.7.1.min.js | 2 + .../modernizr/modernizr.custom.18747.js | 4 - docs/src/js/vendor/picturefill/picturefill.js | 1588 ------ docs/src/package.json | 4 + docs/src/pnpm-lock.yaml | 4590 ----------------- 30 files changed, 42 insertions(+), 15589 deletions(-) delete mode 100644 docs/src/js/vendor/foundation/foundation.abide.js delete mode 100644 docs/src/js/vendor/foundation/foundation.accordion.js delete mode 100644 docs/src/js/vendor/foundation/foundation.alert.js delete mode 100644 docs/src/js/vendor/foundation/foundation.clearing.js delete mode 100644 docs/src/js/vendor/foundation/foundation.dropdown.js delete mode 100644 docs/src/js/vendor/foundation/foundation.equalizer.js delete mode 100644 docs/src/js/vendor/foundation/foundation.interchange.js delete mode 100644 docs/src/js/vendor/foundation/foundation.joyride.js delete mode 100644 docs/src/js/vendor/foundation/foundation.js delete mode 100644 docs/src/js/vendor/foundation/foundation.magellan.js delete mode 100644 docs/src/js/vendor/foundation/foundation.offcanvas.js delete mode 100644 docs/src/js/vendor/foundation/foundation.orbit.js delete mode 100644 docs/src/js/vendor/foundation/foundation.reveal.js delete mode 100644 docs/src/js/vendor/foundation/foundation.slider.js delete mode 100644 docs/src/js/vendor/foundation/foundation.tab.js delete mode 100644 docs/src/js/vendor/foundation/foundation.tooltip.js delete mode 100644 docs/src/js/vendor/foundation/foundation.topbar.js create mode 100644 docs/src/js/vendor/jquery/jquery-3.7.1.min.js delete mode 100644 docs/src/js/vendor/modernizr/modernizr.custom.18747.js delete mode 100644 docs/src/js/vendor/picturefill/picturefill.js delete mode 100644 docs/src/pnpm-lock.yaml diff --git a/.github/workflows/arma.yml b/.github/workflows/arma.yml index 669873d5040..2c45ec422ac 100644 --- a/.github/workflows/arma.yml +++ b/.github/workflows/arma.yml @@ -22,6 +22,8 @@ jobs: run: python3 tools/check_strings.py - name: Check for BOM uses: arma-actions/bom-check@master + with: + path: 'addons' - name: Validate function headers run: python3 docs/tools/document_functions.py --debug diff --git a/docs/_includes/_navigation.html b/docs/_includes/_navigation.html index 82b05085180..e929b8d438e 100644 --- a/docs/_includes/_navigation.html +++ b/docs/_includes/_navigation.html @@ -1,9 +1,17 @@