Skip to content

Commit d075cbe

Browse files
committed
Updated jekyll setup
1 parent 8829f2f commit d075cbe

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
/_site/
2+
.jekyll-metadata
3+
Gemfile.lock

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages', group: :jekyll_plugins

_config.yml

-5
This file was deleted.

readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ This repository hosts the static resources for the http://geojson.org/ website.
44

55
## Development Setup
66

7-
Static resources are transformed with [Jekyll](http://jekyllrb.com/).
7+
Static resources are transformed with [Jekyll](http://jekyllrb.com/). Any pages with the `.md` extension are rendered as `.html` with [kramdown](https://kramdown.gettalong.org/).
88

9-
Any pages with the `.md` extension are rendered as `.html` with [rdiscount](https://github.com/davidfstr/rdiscount) (Jekyll's default Markdown parser [doesn't do nested lists](https://github.com/bhollis/maruku/issues/55)). In addition to installing `jekyll`, you'll want to install `rdiscount` for Markdown parsing and `rouge` for syntax highlighting.
9+
All of the dependencies are included with the [`github-pages` gem](https://github.com/github/pages-gem). With Ruby 2 (use [`rbenv`](https://github.com/rbenv/rbenv)) and Bundler > v1.14 installed (`gem install bundler`), install the remaining dependencies locally with this:
1010

11-
gem install jekyll rdiscount rouge
11+
bundle install
1212

13-
After installing Jekyll, run the following in the root of the repository to start the development server.
13+
With the dependencies installed, run the following in the root of the repository to start the development server:
1414

15-
jekyll serve --watch --safe
15+
jekyll serve --safe --incremental

0 commit comments

Comments
 (0)