From 466d788f354c7941caba7ae9581395dec3ead183 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 2 Mar 2010 00:36:58 -0800 Subject: [PATCH] Pushing new structure and layouts for guide section --- _includes/footer.html | 10 +++++++++ _includes/header.html | 33 +++++++++++++++++++++++++++++ _layouts/default.html | 45 ++-------------------------------------- _layouts/guide.html | 10 +++++++++ css/screen.css | 20 ++++++++++++++++++ docs/user-guide/index.md | 6 ++++-- 6 files changed, 79 insertions(+), 45 deletions(-) create mode 100644 _includes/footer.html create mode 100644 _includes/header.html create mode 100644 _layouts/guide.html diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 000000000..e03f60d12 --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 000000000..d710bf692 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,33 @@ + + + + + Vagrant - {{ page.title }} + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index c53f7f445..9dae217b5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,46 +1,5 @@ - - - - - Vagrant - {{ page.title }} - - - - - - - - - - - - - -
+{% include header.html %}
{{ content }}
-
- - - - - \ No newline at end of file +{% include footer.html %} \ No newline at end of file diff --git a/_layouts/guide.html b/_layouts/guide.html new file mode 100644 index 000000000..de306ab3c --- /dev/null +++ b/_layouts/guide.html @@ -0,0 +1,10 @@ +{% include header.html %} + +
+ {{ content }} +
+{% include footer.html %} \ No newline at end of file diff --git a/css/screen.css b/css/screen.css index 7faa61c32..dba4139fb 100644 --- a/css/screen.css +++ b/css/screen.css @@ -220,6 +220,26 @@ blockquote { CONTENT ------------------------------ */ +.guide h1 { + margin-left: 0; + margin-top: 5px; +} + +/* ------------------------------- + SIDEBAR +------------------------------ */ + +.sidebar { + border: 1px dotted #DDD; + background-color: #EEEEEE; + padding: 10px; + margin-top: 10px; + margin-right: 8px; +} + + .sidebar ol { + margin-bottom: 0px; + } /* ------------------------------- PREFOOTER diff --git a/docs/user-guide/index.md b/docs/user-guide/index.md index ade620521..be1063a2b 100644 --- a/docs/user-guide/index.md +++ b/docs/user-guide/index.md @@ -1,7 +1,9 @@ --- -layout: default +layout: guide title: User Guide --- +# Overview + The user guide is a set of documentation meant to both introduce and explain in detail every portion of Vagrant and its uses. This guide is hand-written instead of being generated from the Vagrant codebase. @@ -10,7 +12,7 @@ it'll be up-to-date to the currently released gem version. Older versions of the documentation can be extracted from the git repository, since each release is tagged, including the documentation branch. -This guide goes through every aspect of Vagrant in great detail. If, instead, +This guide goes through every aspect of Vagrant in great detail. If instead you're more of the tinkering type and want to just get Vagrant up and running, check out the [Getting Started](#) page instead.