diff --git a/Makefile b/Makefile index 5492b8e112..6537aae813 100644 --- a/Makefile +++ b/Makefile @@ -38,12 +38,17 @@ bootstrap: uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.js # -# WATCH LESS FILES +# MAKE FOR GH-PAGES 4 FAT & MDO ONLY (O_O ) # -gh-pages: +gh-pages: docs + node docs/build production cp -r docs/* ../bootstrap-gh-pages +# +# WATCH LESS FILES +# + watch: echo "Watching less files..."; \ watchr -e "watch('less/.*\.less') { system 'make' }" diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index a75e75ca89..7efe21437e 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/base-css.html b/docs/base-css.html index fe6e4fe896..0eb35b6410 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1576,5 +1576,7 @@ For example, <code>section</code> should be wrapped as inline. + + diff --git a/docs/build/index.js b/docs/build/index.js index 4c759c6e0b..5321fa7504 100644 --- a/docs/build/index.js +++ b/docs/build/index.js @@ -1,6 +1,7 @@ #!/usr/bin/env node var hogan = require('hogan.js') , fs = require('fs') + , prod = process.argv[2] == 'production' var layout, pages @@ -21,6 +22,7 @@ pages.forEach(function (name) { context[name.replace(/\.mustache$/, '')] = 'active' context._i = true + context.production = prod page = hogan.compile(page, { sectionTags: [{o:'_i', c:'i'}] }) page = layout.render(context, { diff --git a/docs/components.html b/docs/components.html index 0ccbf512e6..0951c23b85 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1511,5 +1511,7 @@ + + diff --git a/docs/download.html b/docs/download.html index a3dc42f6ae..f975ac3b24 100644 --- a/docs/download.html +++ b/docs/download.html @@ -354,5 +354,7 @@ + + diff --git a/docs/examples.html b/docs/examples.html index d317405aea..ff165685f3 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -139,5 +139,7 @@ + + diff --git a/docs/index.html b/docs/index.html index ea370e1cd3..dcf39a7929 100644 --- a/docs/index.html +++ b/docs/index.html @@ -243,5 +243,7 @@ + + diff --git a/docs/javascript.html b/docs/javascript.html index 4287f852db..d74fc5234d 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1459,5 +1459,7 @@ $('.myCarousel').carousel({ + + diff --git a/docs/less.html b/docs/less.html index 4249822d7b..9a4df78c25 100644 --- a/docs/less.html +++ b/docs/less.html @@ -790,5 +790,7 @@ + + diff --git a/docs/scaffolding.html b/docs/scaffolding.html index 7f9c9de661..b8a635cdde 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -432,5 +432,7 @@ + + diff --git a/docs/templates/layout.mustache b/docs/templates/layout.mustache index 28a11d3fd6..5f49bb62a1 100644 --- a/docs/templates/layout.mustache +++ b/docs/templates/layout.mustache @@ -109,5 +109,24 @@ + + {{#production}} + + + {{/production}} + diff --git a/docs/upgrading.html b/docs/upgrading.html index 3bf02e178d..4d8328b7c2 100644 --- a/docs/upgrading.html +++ b/docs/upgrading.html @@ -291,5 +291,7 @@ + +