Browse Source
Full list of changes is at https://jekyllrb.com/docs/upgrading/2-to-3/. The tl;dr of it is: - Relative permalinks were removed, so all the files in the `docs` subdirectory need their permalink to be prefixed with `docs/` - `post` and `page` types were renamed to `posts` and `pages` respectively - `jekyll-paginate`, `pygments` and `redcarpet` are all now optional, so I needed to explicitly add it to the Gemfile. Jekyll now uses `rouge` rather than `pygments` for syntax highlighting, but rouge does not support highlighting individual lines (`hl_lines`) so we need to continue using Pygments. - Layout metadata (eg. `sectionid`) is now on a `layout` variable rather than `page` Tested the following pages and confirmed that they all work: - "Docs" link (getting started page): http://127.0.0.1:4000/react/docs/getting-started.html - Downloads: http://127.0.0.1:4000/react/downloads.html - Tutorial: http://127.0.0.1:4000/react/docs/tutorial.html - A few pages under the "docs" subdirectory, to confirm they're working properly: - http://127.0.0.1:4000/react/docs/addons.html - http://127.0.0.1:4000/react/docs/why-react.html - http://127.0.0.1:4000/react/docs/create-fragment.html - A few tips: - http://127.0.0.1:4000/react/tips/false-in-jsx.html - http://127.0.0.1:4000/react/tips/style-props-value-px.html - Non-English versions of the page: - http://127.0.0.1:4000/react/docs/getting-started-it-IT.html - http://127.0.0.1:4000/react/docs/getting-started-ja-JP.htmlmain
committed by
Paul O’Shannessy
242 changed files with 299 additions and 305 deletions
@ -1,85 +1,69 @@ |
|||||
GEM |
GEM |
||||
remote: https://rubygems.org/ |
remote: https://rubygems.org/ |
||||
specs: |
specs: |
||||
blankslate (2.1.2.4) |
|
||||
celluloid (0.15.2) |
|
||||
timers (~> 1.1.0) |
|
||||
classifier (1.3.4) |
|
||||
fast-stemmer (>= 1.0.0) |
|
||||
coffee-script (2.3.0) |
|
||||
coffee-script-source |
|
||||
execjs |
|
||||
coffee-script-source (1.7.1) |
|
||||
colorator (0.1) |
colorator (0.1) |
||||
execjs (2.2.1) |
ffi (1.9.10) |
||||
fast-stemmer (1.0.2) |
ffi (1.9.10-x64-mingw32) |
||||
ffi (1.9.3) |
jekyll (3.1.3) |
||||
jekyll (2.2.0) |
|
||||
classifier (~> 1.3) |
|
||||
colorator (~> 0.1) |
colorator (~> 0.1) |
||||
jekyll-coffeescript (~> 1.0) |
|
||||
jekyll-gist (~> 1.0) |
|
||||
jekyll-paginate (~> 1.0) |
|
||||
jekyll-sass-converter (~> 1.0) |
jekyll-sass-converter (~> 1.0) |
||||
jekyll-watch (~> 1.0) |
jekyll-watch (~> 1.1) |
||||
kramdown (~> 1.3) |
kramdown (~> 1.3) |
||||
liquid (~> 2.6.1) |
liquid (~> 3.0) |
||||
mercenary (~> 0.3.3) |
mercenary (~> 0.3.3) |
||||
pygments.rb (~> 0.6.0) |
rouge (~> 1.7) |
||||
redcarpet (~> 3.1) |
|
||||
safe_yaml (~> 1.0) |
safe_yaml (~> 1.0) |
||||
toml (~> 0.1.0) |
jekyll-paginate (1.1.0) |
||||
jekyll-coffeescript (1.0.0) |
jekyll-redirect-from (0.10.0) |
||||
coffee-script (~> 2.2) |
jekyll (>= 2.0) |
||||
jekyll-gist (1.1.0) |
jekyll-sass-converter (1.4.0) |
||||
jekyll-paginate (1.0.0) |
sass (~> 3.4) |
||||
jekyll-redirect-from (0.5.0) |
jekyll-watch (1.3.1) |
||||
jekyll (~> 2.0) |
listen (~> 3.0) |
||||
jekyll-sass-converter (1.2.0) |
json (1.8.3) |
||||
sass (~> 3.2) |
kramdown (1.10.0) |
||||
jekyll-watch (1.1.0) |
liquid (3.0.6) |
||||
listen (~> 2.7) |
listen (3.1.1) |
||||
json (1.8.1) |
|
||||
kramdown (1.4.1) |
|
||||
liquid (2.6.1) |
|
||||
listen (2.7.9) |
|
||||
celluloid (>= 0.15.2) |
|
||||
rb-fsevent (>= 0.9.3) |
rb-fsevent (>= 0.9.3) |
||||
rb-inotify (>= 0.9) |
rb-inotify (>= 0.9.7) |
||||
mercenary (0.3.4) |
mercenary (0.3.6) |
||||
mini_portile (0.6.0) |
mini_portile2 (2.0.0) |
||||
nokogiri (1.6.3.1) |
nokogiri (1.6.7.2) |
||||
mini_portile (= 0.6.0) |
mini_portile2 (~> 2.0.0.rc2) |
||||
parslet (1.5.0) |
nokogiri (1.6.7.2-x64-mingw32) |
||||
blankslate (~> 2.0) |
mini_portile2 (~> 2.0.0.rc2) |
||||
posix-spawn (0.3.9) |
posix-spawn (0.3.11) |
||||
pygments.rb (0.6.0) |
pygments.rb (0.6.3) |
||||
posix-spawn (~> 0.3.6) |
posix-spawn (~> 0.3.6) |
||||
yajl-ruby (~> 1.1.0) |
yajl-ruby (~> 1.2.0) |
||||
rake (10.3.2) |
rake (11.1.2) |
||||
rb-fsevent (0.9.4) |
rb-fsevent (0.9.7) |
||||
rb-inotify (0.9.5) |
rb-inotify (0.9.7) |
||||
ffi (>= 0.5.0) |
ffi (>= 0.5.0) |
||||
redcarpet (3.1.2) |
redcarpet (3.3.4) |
||||
|
rouge (1.10.1) |
||||
safe_yaml (1.0.4) |
safe_yaml (1.0.4) |
||||
sanitize (2.0.6) |
sanitize (2.1.0) |
||||
nokogiri (>= 1.4.4) |
nokogiri (>= 1.4.4) |
||||
sass (3.3.14) |
sass (3.4.22) |
||||
timers (1.1.0) |
wdm (0.1.1) |
||||
toml (0.1.1) |
yajl-ruby (1.2.1) |
||||
parslet (~> 1.5.0) |
|
||||
yajl-ruby (1.1.0) |
|
||||
|
|
||||
PLATFORMS |
PLATFORMS |
||||
ruby |
ruby |
||||
|
x64-mingw32 |
||||
|
|
||||
DEPENDENCIES |
DEPENDENCIES |
||||
jekyll (~> 2.0) |
jekyll (~> 3.1) |
||||
|
jekyll-paginate |
||||
jekyll-redirect-from |
jekyll-redirect-from |
||||
json |
json |
||||
|
pygments.rb |
||||
rake |
rake |
||||
rb-fsevent |
rb-fsevent |
||||
|
redcarpet |
||||
sanitize (~> 2.0) |
sanitize (~> 2.0) |
||||
|
wdm (>= 0.1.0) |
||||
|
|
||||
BUNDLED WITH |
BUNDLED WITH |
||||
1.10.1 |
1.11.2 |
||||
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue