From b57c20a0572c56d629438e0a7c7371b3b57c4e8f Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 13 Feb 2013 11:48:22 -0800 Subject: [PATCH] Restore gallery page, add active nav class jankitude, auto regenerate docs on file save --- _config.yml | 3 +- _gh_pages/components/index.html | 20 +- _gh_pages/css/index.html | 20 +- _gh_pages/customize/index.html | 20 +- _gh_pages/gallery/index.html | 285 +++++++++++++++++++++++++++ _gh_pages/getting-started/index.html | 20 +- _gh_pages/index.html | 18 +- _gh_pages/javascript/index.html | 20 +- docs/_layouts/default.html | 22 ++- docs/gallery.html | 119 +++++++++++ docs/getting-started.html | 2 +- docs/index.html | 1 + 12 files changed, 493 insertions(+), 57 deletions(-) create mode 100644 _gh_pages/gallery/index.html create mode 100644 docs/gallery.html diff --git a/_config.yml b/_config.yml index e3faa51386..93038eaf1e 100644 --- a/_config.yml +++ b/_config.yml @@ -4,4 +4,5 @@ pygments: true paginate: 5 source: ./docs -destination: ./_gh_pages \ No newline at end of file +destination: ./_gh_pages +auto: true \ No newline at end of file diff --git a/_gh_pages/components/index.html b/_gh_pages/components/index.html index edb7a296b4..39e1ff1f6c 100644 --- a/_gh_pages/components/index.html +++ b/_gh_pages/components/index.html @@ -7,8 +7,9 @@ - Components · - Bootstrap + + Components · Bootstrap + @@ -57,24 +58,27 @@ Bootstrap diff --git a/_gh_pages/css/index.html b/_gh_pages/css/index.html index d15f016a8f..94ed67b15e 100644 --- a/_gh_pages/css/index.html +++ b/_gh_pages/css/index.html @@ -7,8 +7,9 @@ - CSS · - Bootstrap + + CSS · Bootstrap + @@ -57,24 +58,27 @@ Bootstrap diff --git a/_gh_pages/customize/index.html b/_gh_pages/customize/index.html index 09c1233914..5bd37414bd 100644 --- a/_gh_pages/customize/index.html +++ b/_gh_pages/customize/index.html @@ -7,8 +7,9 @@ - Customize and download · - Bootstrap + + Customize and download · Bootstrap + @@ -57,24 +58,27 @@ Bootstrap diff --git a/_gh_pages/gallery/index.html b/_gh_pages/gallery/index.html new file mode 100644 index 0000000000..d8dda4661c --- /dev/null +++ b/_gh_pages/gallery/index.html @@ -0,0 +1,285 @@ + + + + + + + + + + + Gallery · Bootstrap + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Gallery

+

Showcase of sites using Bootstrap.

+
+
+ + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_gh_pages/getting-started/index.html b/_gh_pages/getting-started/index.html index ce3c8ac999..4c72c14541 100644 --- a/_gh_pages/getting-started/index.html +++ b/_gh_pages/getting-started/index.html @@ -7,8 +7,9 @@ - Getting started with Bootstrap · - Bootstrap + + Getting started · Bootstrap + @@ -57,24 +58,27 @@ Bootstrap diff --git a/_gh_pages/index.html b/_gh_pages/index.html index 19b131dd19..4faae2f5c0 100644 --- a/_gh_pages/index.html +++ b/_gh_pages/index.html @@ -8,7 +8,8 @@ - Bootstrap + Bootstrap + @@ -57,24 +58,27 @@ Bootstrap diff --git a/_gh_pages/javascript/index.html b/_gh_pages/javascript/index.html index ac9e12405f..4284465de3 100644 --- a/_gh_pages/javascript/index.html +++ b/_gh_pages/javascript/index.html @@ -7,8 +7,9 @@ - JavaScript plugins · - Bootstrap + + JavaScript plugins · Bootstrap + @@ -57,24 +58,27 @@ Bootstrap diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index e92fda24c9..90e8af4405 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -7,8 +7,11 @@ - {% if page.title %}{{ page.title }} · {% endif %} - Bootstrap + {% if page.title == "Bootstrap" %} + {{ page.title }} + {% else if %} + {{ page.title }} · Bootstrap + {% endif %} @@ -57,24 +60,27 @@ Bootstrap diff --git a/docs/gallery.html b/docs/gallery.html new file mode 100644 index 0000000000..f0f6c775a5 --- /dev/null +++ b/docs/gallery.html @@ -0,0 +1,119 @@ +--- +layout: default +title: Gallery +--- + + +
+
+

Gallery

+

Showcase of sites using Bootstrap.

+
+
+ + +
+ + + +
diff --git a/docs/getting-started.html b/docs/getting-started.html index 449bb0c01c..6ef0606377 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -1,6 +1,6 @@ --- layout: default -title: Getting started with Bootstrap +title: Getting started ---