From 8aa5181126d9480eef502403aa98e469a3597826 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 23 Sep 2013 13:00:43 -0700 Subject: [PATCH 1/2] move /assets/ to /docs-assets/ ; fixes #10715 --- Gruntfile.js | 2 +- _includes/footer.html | 18 +++++++++--------- _includes/header.html | 12 ++++++------ {assets => docs-assets}/css/docs.css | 0 .../css/pygments-manni.css | 0 .../ico/apple-touch-icon-144-precomposed.png | Bin {assets => docs-assets}/ico/favicon.png | Bin {assets => docs-assets}/js/application.js | 0 {assets => docs-assets}/js/customizer.js | 0 {assets => docs-assets}/js/filesaver.js | 0 {assets => docs-assets}/js/holder.js | 0 {assets => docs-assets}/js/html5shiv.js | 0 {assets => docs-assets}/js/jquery.js | 0 {assets => docs-assets}/js/jszip.js | 0 {assets => docs-assets}/js/less.js | 0 {assets => docs-assets}/js/raw-files.js | 0 {assets => docs-assets}/js/respond.min.js | 0 {assets => docs-assets}/js/uglify.js | 0 examples/carousel/index.html | 10 +++++----- examples/grid/index.html | 6 +++--- examples/jumbotron-narrow/index.html | 6 +++--- examples/jumbotron/index.html | 8 ++++---- examples/justified-nav/index.html | 6 +++--- examples/navbar-fixed-top/index.html | 8 ++++---- examples/navbar-static-top/index.html | 8 ++++---- examples/navbar/index.html | 8 ++++---- examples/non-responsive/index.html | 8 ++++---- examples/offcanvas/index.html | 8 ++++---- examples/signin/index.html | 6 +++--- examples/starter-template/index.html | 8 ++++---- examples/sticky-footer-navbar/index.html | 8 ++++---- examples/sticky-footer/index.html | 6 +++--- examples/theme/index.html | 10 +++++----- getting-started.html | 4 ++-- 34 files changed, 75 insertions(+), 75 deletions(-) rename {assets => docs-assets}/css/docs.css (100%) rename {assets => docs-assets}/css/pygments-manni.css (100%) rename {assets => docs-assets}/ico/apple-touch-icon-144-precomposed.png (100%) rename {assets => docs-assets}/ico/favicon.png (100%) rename {assets => docs-assets}/js/application.js (100%) rename {assets => docs-assets}/js/customizer.js (100%) rename {assets => docs-assets}/js/filesaver.js (100%) rename {assets => docs-assets}/js/holder.js (100%) rename {assets => docs-assets}/js/html5shiv.js (100%) rename {assets => docs-assets}/js/jquery.js (100%) rename {assets => docs-assets}/js/jszip.js (100%) rename {assets => docs-assets}/js/less.js (100%) rename {assets => docs-assets}/js/raw-files.js (100%) rename {assets => docs-assets}/js/respond.min.js (100%) rename {assets => docs-assets}/js/uglify.js (100%) diff --git a/Gruntfile.js b/Gruntfile.js index ccb49ed52..cb641c87e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -216,6 +216,6 @@ module.exports = function(grunt) { var customize = fs.readFileSync('customize.html', 'utf-8') var files = getFiles('js') + getFiles('less') + getFiles('fonts') - fs.writeFileSync('assets/js/raw-files.js', files) + fs.writeFileSync('docs-assets/js/raw-files.js', files) }); }; diff --git a/_includes/footer.html b/_includes/footer.html index d187f95d5..9e66c58a1 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,21 +1,21 @@ - + - + - + {% if page.slug == "customize" %} - - - - - - + + + + + + {% endif %} - - + + - - + + + - + diff --git a/examples/grid/index.html b/examples/grid/index.html index 779eacfe5..2282d8066 100644 --- a/examples/grid/index.html +++ b/examples/grid/index.html @@ -5,7 +5,7 @@ - + Grid Template for Bootstrap @@ -17,8 +17,8 @@ diff --git a/examples/jumbotron-narrow/index.html b/examples/jumbotron-narrow/index.html index 270cbdf70..0b45b9e23 100644 --- a/examples/jumbotron-narrow/index.html +++ b/examples/jumbotron-narrow/index.html @@ -5,7 +5,7 @@ - + Narrow Jumbotron Template for Bootstrap @@ -17,8 +17,8 @@ diff --git a/examples/jumbotron/index.html b/examples/jumbotron/index.html index 1032a7e42..4cf2f9293 100644 --- a/examples/jumbotron/index.html +++ b/examples/jumbotron/index.html @@ -5,7 +5,7 @@ - + Jumbotron Template for Bootstrap @@ -17,8 +17,8 @@ @@ -88,7 +88,7 @@ - + diff --git a/examples/justified-nav/index.html b/examples/justified-nav/index.html index d49718c9e..f2fd078c9 100644 --- a/examples/justified-nav/index.html +++ b/examples/justified-nav/index.html @@ -5,7 +5,7 @@ - + Justified Nav Template for Bootstrap @@ -17,8 +17,8 @@ diff --git a/examples/navbar-fixed-top/index.html b/examples/navbar-fixed-top/index.html index 1b1c708aa..258a0baf7 100644 --- a/examples/navbar-fixed-top/index.html +++ b/examples/navbar-fixed-top/index.html @@ -5,7 +5,7 @@ - + Fixed Top Navbar Example for Bootstrap @@ -17,8 +17,8 @@ @@ -80,7 +80,7 @@ - + diff --git a/examples/navbar-static-top/index.html b/examples/navbar-static-top/index.html index 6b5e4d35b..c921a0d75 100644 --- a/examples/navbar-static-top/index.html +++ b/examples/navbar-static-top/index.html @@ -5,7 +5,7 @@ - + Static Top Navbar Example for Bootstrap @@ -17,8 +17,8 @@ @@ -81,7 +81,7 @@ - + diff --git a/examples/navbar/index.html b/examples/navbar/index.html index 834019445..b602cefd7 100644 --- a/examples/navbar/index.html +++ b/examples/navbar/index.html @@ -5,7 +5,7 @@ - + Navbar Template for Bootstrap @@ -17,8 +17,8 @@ @@ -77,7 +77,7 @@ - + diff --git a/examples/non-responsive/index.html b/examples/non-responsive/index.html index a5fd883bd..ce8ac517a 100644 --- a/examples/non-responsive/index.html +++ b/examples/non-responsive/index.html @@ -7,7 +7,7 @@ - + Non-responsive Template for Bootstrap @@ -19,8 +19,8 @@ @@ -90,7 +90,7 @@ - + diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html index 04f01c7f1..e967e6933 100644 --- a/examples/offcanvas/index.html +++ b/examples/offcanvas/index.html @@ -5,7 +5,7 @@ - + Off Canvas Template for Bootstrap @@ -17,8 +17,8 @@ @@ -118,7 +118,7 @@ - + diff --git a/examples/signin/index.html b/examples/signin/index.html index 5c0a4543a..de9fd5e3c 100644 --- a/examples/signin/index.html +++ b/examples/signin/index.html @@ -5,7 +5,7 @@ - + Signin Template for Bootstrap @@ -17,8 +17,8 @@ diff --git a/examples/starter-template/index.html b/examples/starter-template/index.html index fc22db662..244fe65f5 100644 --- a/examples/starter-template/index.html +++ b/examples/starter-template/index.html @@ -5,7 +5,7 @@ - + Starter Template for Bootstrap @@ -17,8 +17,8 @@ @@ -57,7 +57,7 @@ - + diff --git a/examples/sticky-footer-navbar/index.html b/examples/sticky-footer-navbar/index.html index 551212a80..ea1b1f5a1 100644 --- a/examples/sticky-footer-navbar/index.html +++ b/examples/sticky-footer-navbar/index.html @@ -5,7 +5,7 @@ - + Sticky Footer Navbar Template for Bootstrap @@ -17,8 +17,8 @@ @@ -80,7 +80,7 @@ - + diff --git a/examples/sticky-footer/index.html b/examples/sticky-footer/index.html index aaafbc20d..325daa24c 100644 --- a/examples/sticky-footer/index.html +++ b/examples/sticky-footer/index.html @@ -5,7 +5,7 @@ - + Sticky Footer Template for Bootstrap @@ -17,8 +17,8 @@ diff --git a/examples/theme/index.html b/examples/theme/index.html index a0f3128bf..dbc4fdadd 100644 --- a/examples/theme/index.html +++ b/examples/theme/index.html @@ -5,7 +5,7 @@ - + Theme Template for Bootstrap @@ -19,8 +19,8 @@ @@ -346,8 +346,8 @@ - + - + diff --git a/getting-started.html b/getting-started.html index 80069c45c..8c1652e00 100644 --- a/getting-started.html +++ b/getting-started.html @@ -109,8 +109,8 @@ bootstrap/ From f503efc49086becc312665000fcbce4b9df3750d Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 23 Sep 2013 13:01:11 -0700 Subject: [PATCH 2/2] avoid using the term "assets" due to potential confusion --- getting-started.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started.html b/getting-started.html index 8c1652e00..4cc0aa4fe 100644 --- a/getting-started.html +++ b/getting-started.html @@ -61,7 +61,7 @@ base_url: "../" -

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations.

+

Within the download you'll find the following directories and files, logically grouping common resources and providing both compiled and minified variations.

Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:

{% highlight bash %}