Super massive docs overhaul

* Bring back the navbar up top
* Pull the docs content back into separate pages because a 6.6k line docs file is just crazy
* Recenter the page content and bring back affixed side nav (needs work)
This commit is contained in:
Mark Otto
2013-05-08 21:56:08 -07:00
parent 88dd9de9ba
commit edb733ebc7
20 changed files with 7291 additions and 7246 deletions

View File

@@ -0,0 +1,24 @@
<div class="navbar navbar-fixed-top bs-docs-nav">
<div class="container">
<a href="/" class="navbar-brand">Bootstrap</a>
<div class="nav-collapse collapse">
<ul class="nav navbar-nav">
<li{% if page.slug == "welcome" %} class="active"{% endif %}>
<a href="/welcome">Overview</a>
</li>
<li{% if page.slug == "css" %} class="active"{% endif %}>
<a href="/css">CSS</a>
</li>
<li{% if page.slug == "components" %} class="active"{% endif %}>
<a href="/components">Components</a>
</li>
<li{% if page.slug == "js" %} class="active"{% endif %}>
<a href="/javascript">JavaScript</a>
</li>
<li{% if page.slug == "customize" %} class="active"{% endif %}>
<a href="/customize">Customize</a>
</li>
</ul>
</div>
</div>
</div>