Merge pull request #1191 from leggetter/master

Moving Quick-start guide to own section
This commit is contained in:
Matt Rogers 2013-06-08 10:49:32 -07:00
commit da691b579f
5 changed files with 27 additions and 18 deletions

View File

@ -5,6 +5,9 @@
<li class="{% if page.title == "Welcome" %}current{% endif %}"> <li class="{% if page.title == "Welcome" %}current{% endif %}">
<a href="{{ site.url }}/docs/home">Welcome</a> <a href="{{ site.url }}/docs/home">Welcome</a>
</li> </li>
<li class="{% if page.title == "Quick-start guide" %}current{% endif %}">
<a href="{{ site.url }}/docs/quickstart">Quick-start guide</a>
</li>
<li class="{% if page.title == "Installation" %}current{% endif %}"> <li class="{% if page.title == "Installation" %}current{% endif %}">
<a href="{{ site.url }}/docs/installation">Installation</a> <a href="{{ site.url }}/docs/installation">Installation</a>
</li> </li>

View File

@ -3,6 +3,7 @@
<option value="">Navigate the docs…</option> <option value="">Navigate the docs…</option>
<optgroup label="Getting started"> <optgroup label="Getting started">
<option value="{{ site.url }}/docs/home">Welcome</option> <option value="{{ site.url }}/docs/home">Welcome</option>
<option value="{{ site.url }}/docs/quickstart">Quick-start guide</option>
<option value="{{ site.url }}/docs/installation">Installation</option> <option value="{{ site.url }}/docs/installation">Installation</option>
<option value="{{ site.url }}/docs/usage">Basic Usage</option> <option value="{{ site.url }}/docs/usage">Basic Usage</option>
<option value="{{ site.url }}/docs/structure">Directory structure</option> <option value="{{ site.url }}/docs/structure">Directory structure</option>

View File

@ -1,7 +1,7 @@
--- ---
layout: docs layout: docs
title: Welcome title: Welcome
next_section: installation next_section: quickstart
permalink: /docs/home/ permalink: /docs/home/
--- ---
@ -24,22 +24,6 @@ behind [GitHub Pages](http://pages.github.com), which means you can use Jekyll
to host your projects page, blog, or website from GitHubs servers **for to host your projects page, blog, or website from GitHubs servers **for
free**. free**.
## Quick-start guide
For the impatient, here's how to get a boilerplate Jekyll site up and running.
{% highlight bash %}
~ $ gem install jekyll
~ $ jekyll new myblog
~ $ cd myblog
~/myblog $ jekyll serve
# => Now browse to http://localhost:4000
{% endhighlight %}
That's nothing, though. The real magic happens when you start creating blog
posts, using the front-matter to control templates and layouts, and taking
advantage of all the awesome configuration options Jekyll makes available.
## ProTips™, Notes, and Warnings ## ProTips™, Notes, and Warnings
Throughout this guide there are a number of small-but-handy pieces of Throughout this guide there are a number of small-but-handy pieces of

View File

@ -1,7 +1,7 @@
--- ---
layout: docs layout: docs
title: Installation title: Installation
prev_section: home prev_section: quickstart
next_section: usage next_section: usage
permalink: /docs/installation/ permalink: /docs/installation/
--- ---

21
site/docs/quickstart.md Normal file
View File

@ -0,0 +1,21 @@
---
layout: docs
title: Quick-start guide
prev_section: home
next_section: installation
permalink: /docs/quickstart/
---
For the impatient, here's how to get a boilerplate Jekyll site up and running.
{% highlight bash %}
~ $ gem install jekyll
~ $ jekyll new myblog
~ $ cd myblog
~/myblog $ jekyll serve
# => Now browse to http://localhost:4000
{% endhighlight %}
That's nothing, though. The real magic happens when you start creating blog
posts, using the front-matter to control templates and layouts, and taking
advantage of all the awesome configuration options Jekyll makes available.