Skip to content

Commit

Permalink
Use jekyll-redirect-from instead of our other redirect method
Browse files Browse the repository at this point in the history
  • Loading branch information
zpao committed Aug 13, 2014
1 parent 4c7cd13 commit 51df0ef
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 14 deletions.
3 changes: 3 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ gem 'rake'
# 2.0 includes sass processing
gem 'jekyll', '~>2.0'

# Auto redirect pages
gem 'jekyll-redirect-from'

# JSON
gem 'json'

Expand Down
3 changes: 3 additions & 0 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ GEM
coffee-script (~> 2.2)
jekyll-gist (1.1.0)
jekyll-paginate (1.0.0)
jekyll-redirect-from (0.5.0)
jekyll (~> 2.0)
jekyll-sass-converter (1.2.0)
sass (~> 3.2)
jekyll-watch (1.1.0)
Expand Down Expand Up @@ -73,6 +75,7 @@ PLATFORMS

DEPENDENCIES
jekyll (~> 2.0)
jekyll-redirect-from
json
rake
rb-fsevent
Expand Down
2 changes: 2 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ redcarpet:
sass:
style: :compressed
sass_dir: _css
gems:
- jekyll-redirect-from
react_version: 0.11.1
6 changes: 0 additions & 6 deletions docs/_layouts/redirect.html

This file was deleted.

1 change: 1 addition & 0 deletions docs/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: getting-started
title: Getting Started
next: tutorial.html
redirect_from: "docs/index.html"
---

## JSFiddle
Expand Down
4 changes: 0 additions & 4 deletions docs/docs/index.html

This file was deleted.

1 change: 1 addition & 0 deletions docs/docs/ref-01-top-level-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ id: top-level-api
title: Top-Level API
permalink: top-level-api.html
next: component-api.html
redirect_from: "/docs/reference.html"
---

## React
Expand Down
4 changes: 0 additions & 4 deletions docs/docs/reference.html

This file was deleted.

0 comments on commit 51df0ef

Please sign in to comment.