mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-04 16:24:22 +01:00
24f749cb76
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
21 lines
665 B
JavaScript
21 lines
665 B
JavaScript
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
|
|
// IT'S ALL JUST JUNK FOR OUR DOCS!
|
|
// ++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
/*!
|
|
* JavaScript for Bootstrap's docs (https://getbootstrap.com/)
|
|
* Copyright 2011-2024 The Bootstrap Authors
|
|
* Licensed under the Creative Commons Attribution 3.0 Unported License.
|
|
* For details, see https://creativecommons.org/licenses/by/3.0/.
|
|
*/
|
|
|
|
/* eslint-disable import/no-unresolved */
|
|
import sidebarScroll from 'js/partials/sidebar.js'
|
|
import codeExamples from 'js/partials/code-examples.js'
|
|
import snippets from 'js/partials/snippets.js'
|
|
/* eslint-enable import/no-unresolved */
|
|
|
|
sidebarScroll()
|
|
codeExamples()
|
|
snippets()
|