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:
+10
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user