jekyll 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
- checksums.yaml +15 -0
- data/History.markdown +29 -0
- data/bin/jekyll +14 -0
- data/jekyll.gemspec +29 -28
- data/lib/jekyll.rb +1 -1
- data/lib/jekyll/commands/doctor.rb +29 -0
- data/lib/jekyll/configuration.rb +13 -1
- data/lib/jekyll/converters/markdown/redcarpet_parser.rb +2 -2
- data/lib/jekyll/page.rb +17 -2
- data/lib/jekyll/post.rb +1 -1
- data/lib/jekyll/site.rb +14 -0
- data/site/_config.yml +1 -1
- data/site/_includes/primary-nav-items.html +2 -2
- data/site/{_posts/2012-07-01-configuration.md → docs/configuration.md} +3 -0
- data/site/{_posts/2012-07-01-contributing.md → docs/contributing.md} +1 -0
- data/site/{_posts/2012-07-01-deployment-methods.md → docs/deployment-methods.md} +1 -0
- data/site/docs/extras.md +35 -0
- data/site/{_posts/2012-07-01-frontmatter.md → docs/frontmatter.md} +1 -0
- data/site/{_posts/2012-07-01-github-pages.md → docs/github-pages.md} +1 -0
- data/site/{_posts/2012-07-01-heroku.md → docs/heroku.md} +1 -0
- data/site/{_posts/2012-07-01-home.md → docs/index.md} +3 -1
- data/site/{_posts/2012-07-01-installation.md → docs/installation.md} +1 -0
- data/site/{_posts/2012-07-01-migrations.md → docs/migrations.md} +1 -0
- data/site/{_posts/2012-07-01-pages.md → docs/pages.md} +1 -0
- data/site/{_posts/2012-07-01-pagination.md → docs/pagination.md} +1 -0
- data/site/{_posts/2012-07-01-permalinks.md → docs/permalinks.md} +1 -0
- data/site/{_posts/2012-07-01-plugins.md → docs/plugins.md} +1 -0
- data/site/{_posts/2012-07-01-posts.md → docs/posts.md} +2 -1
- data/site/{_posts/2012-07-01-resources.md → docs/resources.md} +1 -0
- data/site/{_posts/2012-07-01-sites.md → docs/sites.md} +1 -0
- data/site/{_posts/2012-07-01-structure.md → docs/structure.md} +1 -0
- data/site/{_posts/2012-07-01-templates.md → docs/templates.md} +2 -1
- data/site/{_posts/2012-07-01-troubleshooting.md → docs/troubleshooting.md} +1 -0
- data/site/{_posts/2012-07-01-upgrading.md → docs/upgrading.md} +22 -1
- data/site/{_posts/2012-07-01-usage.md → docs/usage.md} +1 -0
- data/site/{_posts/2012-07-01-variables.md → docs/variables.md} +1 -0
- data/site/index.html +4 -4
- data/test/source/_posts/2013-05-10-number-category.textile +7 -0
- data/test/test_generated_site.rb +1 -1
- data/test/test_post.rb +6 -0
- data/test/test_redcarpet.rb +3 -3
- data/test/test_site.rb +1 -1
- metadata +33 -76
- data/site/_posts/2012-07-01-extras.md +0 -114
- data/site/docs/index.html +0 -11
@@ -1,114 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Extras
|
4
|
-
prev_section: plugins
|
5
|
-
next_section: github-pages
|
6
|
-
---
|
7
|
-
|
8
|
-
There are a number of (optional) extra features that Jekyll supports that you
|
9
|
-
may want to install, depending on how you plan to use Jekyll.
|
10
|
-
|
11
|
-
## Pygments
|
12
|
-
|
13
|
-
If you want syntax highlighting via the `{% raw %}{% highlight %}{% endraw %}`
|
14
|
-
tag in your posts, you’ll need to install [Pygments](http://pygments.org/).
|
15
|
-
|
16
|
-
### Installing Pygments on OSX
|
17
|
-
|
18
|
-
Mac OS X (Leopard onwards) comes preinstalled with Python, so on just about any
|
19
|
-
OS X machine you can install Pygments simply by running:
|
20
|
-
|
21
|
-
{% highlight bash %}
|
22
|
-
$ sudo easy_install Pygments
|
23
|
-
{% endhighlight %}
|
24
|
-
|
25
|
-
#### Installing Pygments using Homebrew
|
26
|
-
|
27
|
-
Alternatively, you can install Pygments with
|
28
|
-
[Homebrew](http://mxcl.github.com/homebrew/), an excellent package manager for
|
29
|
-
OS X:
|
30
|
-
|
31
|
-
{% highlight bash %}
|
32
|
-
$ brew install python
|
33
|
-
# export PATH="/usr/local/share/python:${PATH}"
|
34
|
-
$ pip install pygments
|
35
|
-
{% endhighlight %}
|
36
|
-
|
37
|
-
<div class="note">
|
38
|
-
<h5>Homebrew's executable paths</h5>
|
39
|
-
<p>
|
40
|
-
Homebrew doesn’t symlink the executables for you. For the Homebrew default
|
41
|
-
Cellar location and Python 2.7, be sure to add `/usr/local/share/python` to
|
42
|
-
your `PATH`. For more information, check out
|
43
|
-
<a href="https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python">the
|
44
|
-
Homebrew wiki</a>.
|
45
|
-
</p>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
#### Installing Pygments using MacPorts
|
49
|
-
|
50
|
-
If you use MacPorts, you can install Pygments by running:
|
51
|
-
|
52
|
-
{% highlight bash %}
|
53
|
-
$ sudo port install python25 py25-pygments
|
54
|
-
{% endhighlight %}
|
55
|
-
|
56
|
-
Seriously though, you should check out
|
57
|
-
[Homebrew](http://mxcl.github.com/homebrew/)—it’s awesome.
|
58
|
-
|
59
|
-
### Installing Pygments on Arch Linux
|
60
|
-
|
61
|
-
You can install Pygments using the pacman package manager as follows:
|
62
|
-
|
63
|
-
{% highlight bash %}
|
64
|
-
$ sudo pacman -S python-pygments
|
65
|
-
{% endhighlight %}
|
66
|
-
|
67
|
-
Or to use python2 for Pygments:
|
68
|
-
|
69
|
-
{% highlight bash %}
|
70
|
-
$ sudo pacman -S python2-pygments
|
71
|
-
{% endhighlight %}
|
72
|
-
|
73
|
-
### Installing Pygments on Ubuntu and Debian
|
74
|
-
|
75
|
-
{% highlight bash %}
|
76
|
-
$ sudo apt-get install python-pygments
|
77
|
-
{% endhighlight %}
|
78
|
-
|
79
|
-
### Installing Pygments on RedHat, Fedora, and CentOS
|
80
|
-
|
81
|
-
{% highlight bash %}
|
82
|
-
$ sudo yum install python-pygments
|
83
|
-
{% endhighlight %}
|
84
|
-
|
85
|
-
### Installing Pygments on Gentoo
|
86
|
-
|
87
|
-
{% highlight bash %}
|
88
|
-
$ sudo emerge -av dev-python/pygments
|
89
|
-
{% endhighlight %}
|
90
|
-
|
91
|
-
## LaTeX Support
|
92
|
-
|
93
|
-
Maruku comes with optional support for LaTeX to PNG rendering via blahtex
|
94
|
-
(Version 0.6) which must be in your `$PATH` along with `dvips`. If you need
|
95
|
-
Maruku to not assume a fixed location for `dvips`, check out [Remi’s Maruku
|
96
|
-
fork](http://github.com/remi/maruku).
|
97
|
-
|
98
|
-
## RDiscount
|
99
|
-
|
100
|
-
If you prefer to use [RDiscount](http://github.com/rtomayko/rdiscount) instead
|
101
|
-
of [Maruku](http://maruku.rubyforge.org/) for markdown, just make sure you have
|
102
|
-
it installed:
|
103
|
-
|
104
|
-
{% highlight bash %}
|
105
|
-
$ sudo gem install rdiscount
|
106
|
-
{% endhighlight %}
|
107
|
-
|
108
|
-
And then specify RDiscount as the Markdown engine in your `_config.yml` file to
|
109
|
-
have Jekyll run with that option.
|
110
|
-
|
111
|
-
{% highlight bash %}
|
112
|
-
# In _config.yml
|
113
|
-
markdown: rdiscount
|
114
|
-
{% endhighlight %}
|