aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-07-26 21:09:39 -0700
committerMark Otto <[email protected]>2016-07-26 21:09:39 -0700
commit8e9a9a5960697cd8cd698ca6b4d8733bd7872de6 (patch)
treee78c2030f5454ad799124b0646bc5db74d2a31d1 /docs/_includes
parentc017eaca2fb318f7d215f41b966d553429e00f90 (diff)
downloadbootstrap-8e9a9a5960697cd8cd698ca6b4d8733bd7872de6.tar.xz
bootstrap-8e9a9a5960697cd8cd698ca6b4d8733bd7872de6.zip
Enable flexbox grid CSS on our docs page
- Creates new flexbox grid Sass file in our docs assets - Updates the Gruntfile to compile said new Sass file and minify the output - Update notice on flexbox docs page for how it works - Only enable compiled flexbox grid CSS in hosted docs site, not in dev (for easier and specific debugging of all flexbox features)
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/header.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index 51b3cda8b..3fc75c058 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -15,6 +15,9 @@
<!-- Bootstrap core CSS -->
{% if site.github %}
<link href="{{ site.baseurl }}/dist/css/bootstrap.min.css" rel="stylesheet">
+ {% if page.title == "Flexbox grid system" %}
+ <link href="{{ site.baseurl }}/assets/css/docs-flexbox.min.css" rel="stylesheet">
+ {% endif %}
{% else %}
<link href="{{ site.baseurl }}/dist/css/bootstrap.css" rel="stylesheet">
{% endif %}