2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Use Hugo mounts for our docs vendor JS files.

This commit is contained in:
XhmikosR
2019-08-17 19:38:24 +03:00
parent 268da84f16
commit 6b071116f3
6 changed files with 528 additions and 18 deletions
+10
View File
@@ -40,6 +40,16 @@ module:
target: static/apple-touch-icon.png
- source: site/static/docs/5.0/assets/img/favicons/favicon.ico
target: static/favicon.ico
# docsearch is referenced in a `script` tag so we just mount it in the static folder
- source: node_modules/docsearch.js/dist/cdn/docsearch.min.js
target: static/docs/5.0/assets/js/vendor/docsearch.min.js
# the following are concatenated via Hugo pipes with docs.js so we need them in the assets folder
- source: node_modules/anchor-js/anchor.min.js
target: assets/js/vendor/anchor.min.js
- source: node_modules/bs-custom-file-input/dist/bs-custom-file-input.min.js
target: assets/js/vendor/bs-custom-file-input.min.js
- source: node_modules/clipboard/dist/clipboard.min.js
target: assets/js/vendor/clipboard.min.js
params:
description: "The most popular HTML, CSS, and JS library in the world."