mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-02 14:24:19 +01:00
0e920ce3f4
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
53 lines
1.5 KiB
SCSS
53 lines
1.5 KiB
SCSS
/*!
|
|
* Bootstrap Docs (https://getbootstrap.com/)
|
|
* Copyright 2011-2018 The Bootstrap Authors
|
|
* Copyright 2011-2018 Twitter, Inc.
|
|
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
|
* details, see https://creativecommons.org/licenses/by/3.0/.
|
|
*/
|
|
|
|
// Dev notes
|
|
//
|
|
// Background information on nomenclature and architecture decisions here.
|
|
//
|
|
// - Bootstrap functions, variables, and mixins are included for easy reuse.
|
|
// Doing so gives us access to the same core utilities provided by Bootstrap.
|
|
// For example, consistent media queries through those mixins.
|
|
//
|
|
// - Bootstrap's **docs variables** are prefixed with `$bd-`.
|
|
// These custom colors avoid collision with the components Bootstrap provides.
|
|
//
|
|
// - Classes are prefixed with `.bd-`.
|
|
// These classes indicate custom-built or modified components for the design
|
|
// and layout of the Bootstrap docs. They are not included in our builds.
|
|
//
|
|
// Happy Bootstrapping!
|
|
|
|
// Load Bootstrap variables and mixins
|
|
@import "../../../../../scss/functions";
|
|
@import "../../../../../scss/variables";
|
|
@import "../../../../../scss/mixins";
|
|
|
|
// Load docs components
|
|
@import "variables";
|
|
@import "nav";
|
|
@import "masthead";
|
|
@import "ads";
|
|
@import "content";
|
|
@import "skiplink";
|
|
@import "sidebar";
|
|
@import "footer";
|
|
@import "component-examples";
|
|
@import "buttons";
|
|
@import "callouts";
|
|
@import "examples";
|
|
@import "browser-bugs";
|
|
@import "brand";
|
|
@import "colors";
|
|
@import "clipboard-js";
|
|
|
|
// Load docs dependencies
|
|
@import "syntax";
|
|
@import "anchor";
|
|
@import "algolia";
|