Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-08-17 19:38:24 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-11-19 21:54:42 +0300
commit6b071116f3b09b59a423ad999efbd67f8645bfa5 (patch)
treeb290896d0d1e95fe6ee304f93d4c579058465e58 /config.yml
parent268da84f163bfc9b272ccbbc5f1f3677998e8325 (diff)
Use Hugo mounts for our docs vendor JS files.
Diffstat (limited to 'config.yml')
-rw-r--r--config.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.yml b/config.yml
index 72776be7d9..638019c9e2 100644
--- a/config.yml
+++ b/config.yml
@@ -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."