This is the big site redesign by @cobyism. To work with the new site deployment mechanism, it is being copied from the gh-pages branch of that PR into the existing site dir. Before we finally deploy the new site, we should remember to merge #583 so that we keep all the history from that PR.
1.5 KiB
layout, title, prev_section, next_section
| layout | title | prev_section | next_section |
|---|---|---|---|
| docs | Basic Usage | installation | structure |
The Jekyll gem makes a jekyll executable available to you in your Terminal window. You can use this command in a number of ways:
{% highlight bash %} jekyll #=> The current folder will get generated into ./_site jekyll #=> The current folder will get generated into jekyll #=> The folder will get generated into {% endhighlight %}
Jekyll also comes with a built-in development server that will allow you to preview what the generated site will look like in your browser locally.
{% highlight bash %} jekyll --server #=> A development server will run at http://localhost:4000/ jekyll --server --auto #=> As above, but watch for changes and regenerate automatically too. {% endhighlight %}
These are just some of the many configuration options available. All configuration options can either be specified as flags on the command line, or alternatively (and more commonly) they can be specified in a _config.yml file at the root of the source directory. Jekyll will automatically configuration options from this file when run, so placing the following two lines in the configuration file will mean that running jekyll would be equivalent to running jekyll --server --auto:
{% highlight yaml %} auto: true server: true {% endhighlight %}
For more about the possible configuration options, see the configuration page.