aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.3
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2024-03-08 12:43:44 +0200
committerXhmikosR <[email protected]>2024-03-19 11:25:15 +0200
commit24f749cb768b7d7830ed9bc7b3b38d35dbbccffd (patch)
treebc752763aad4e8c36f84a73d2a0e751a364a0e8e /site/content/docs/5.3
parente340674d06f1c5b054eb5395bac85a3cf36d3463 (diff)
downloadbootstrap-24f749cb768b7d7830ed9bc7b3b38d35dbbccffd.tar.xz
bootstrap-24f749cb768b7d7830ed9bc7b3b38d35dbbccffd.zip
docs: bundle assets with Hugo
Also: * load any docs' third-party dependencies from node_modules (except for examples) * exclude docsearch from layouts that don't use it * preconnect to algolia only when not examples layout * switch to `RelPermalink` * refactor JS assets into partials
Diffstat (limited to 'site/content/docs/5.3')
-rw-r--r--site/content/docs/5.3/components/alerts.md2
-rw-r--r--site/content/docs/5.3/components/modal.md2
-rw-r--r--site/content/docs/5.3/components/toasts.md2
-rw-r--r--site/content/docs/5.3/docsref.md2
4 files changed, 4 insertions, 4 deletions
diff --git a/site/content/docs/5.3/components/alerts.md b/site/content/docs/5.3/components/alerts.md
index 6103898bc..deea8f2e9 100644
--- a/site/content/docs/5.3/components/alerts.md
+++ b/site/content/docs/5.3/components/alerts.md
@@ -38,7 +38,7 @@ Click the button below to show an alert (hidden with inline styles to start), th
We use the following JavaScript to trigger our live alert demo:
-{{< js-docs name="live-alert" file="site/assets/js/snippets.js" >}}
+{{< js-docs name="live-alert" file="site/assets/js/partials/snippets.js" >}}
### Link color
diff --git a/site/content/docs/5.3/components/modal.md b/site/content/docs/5.3/components/modal.md
index 3ca7cc4d2..e00931e81 100644
--- a/site/content/docs/5.3/components/modal.md
+++ b/site/content/docs/5.3/components/modal.md
@@ -481,7 +481,7 @@ Below is a live demo followed by example HTML and JavaScript. For more informati
</div>
{{< /example >}}
-{{< js-docs name="varying-modal-content" file="site/assets/js/snippets.js" >}}
+{{< js-docs name="varying-modal-content" file="site/assets/js/partials/snippets.js" >}}
### Toggle between modals
diff --git a/site/content/docs/5.3/components/toasts.md b/site/content/docs/5.3/components/toasts.md
index a7d1cb713..4beae7dc8 100644
--- a/site/content/docs/5.3/components/toasts.md
+++ b/site/content/docs/5.3/components/toasts.md
@@ -87,7 +87,7 @@ Click the button below to show a toast (positioned with our utilities in the low
We use the following JavaScript to trigger our live toast demo:
-{{< js-docs name="live-toast" file="site/assets/js/snippets.js" >}}
+{{< js-docs name="live-toast" file="site/assets/js/partials/snippets.js" >}}
### Translucent
diff --git a/site/content/docs/5.3/docsref.md b/site/content/docs/5.3/docsref.md
index d0fc42f3d..6b811f47d 100644
--- a/site/content/docs/5.3/docsref.md
+++ b/site/content/docs/5.3/docsref.md
@@ -46,4 +46,4 @@ sitemap_exclude: true
{{< scss-docs name="variable-gradient" file="scss/_variables.scss" >}}
-{{< js-docs name="live-toast" file="site/assets/js/snippets.js" >}}
+{{< js-docs name="live-toast" file="site/assets/js/partials/snippets.js" >}}