diff --git a/docs/_layouts/redirect.html b/docs/_layouts/redirect.html new file mode 100644 index 0000000000..64af3722a3 --- /dev/null +++ b/docs/_layouts/redirect.html @@ -0,0 +1,8 @@ + + +Redirecting... + + +

Redirecting...

+Click here if you are not redirected. + diff --git a/docs/_plugins/sidebar_item.rb b/docs/_plugins/sidebar_item.rb index bfb218b882..77a9740e13 100644 --- a/docs/_plugins/sidebar_item.rb +++ b/docs/_plugins/sidebar_item.rb @@ -11,7 +11,7 @@ module Jekyll if item["href"] classes.push("external") end - className = classes.size ? "class=\"#{classes.join(' ')}\"" : ""; + className = classes.size > 0 ? " class=\"#{classes.join(' ')}\"" : "" return "#{item["title"]}" end diff --git a/docs/docs/complementary-tools.it-IT.md b/docs/docs/complementary-tools.it-IT.md index 1511ca20ef..ce1fc965b7 100644 --- a/docs/docs/complementary-tools.it-IT.md +++ b/docs/docs/complementary-tools.it-IT.md @@ -1,9 +1,5 @@ --- -id: complementary-tools-it-IT -title: Strumenti Complementari permalink: complementary-tools-it-IT.html -prev: videos-it-IT.html -next: examples-it-IT.html +layout: redirect +dest_url: https://github.com/facebook/react/wiki/Complementary-Tools --- - -Questa pagina è stata spostata sul [wiki di GitHub](https://github.com/facebook/react/wiki/Complementary-Tools). diff --git a/docs/docs/complementary-tools.ko-KR.md b/docs/docs/complementary-tools.ko-KR.md index c387883f16..9807bf0799 100644 --- a/docs/docs/complementary-tools.ko-KR.md +++ b/docs/docs/complementary-tools.ko-KR.md @@ -1,9 +1,5 @@ --- -id: complementary-tools-ko-KR -title: 상호 보완적인 도구들 permalink: complementary-tools-ko-KR.html -prev: videos-ko-KR.html -next: examples-ko-KR.html +layout: redirect +dest_url: https://github.com/facebook/react/wiki/Complementary-Tools --- - -이 페이지는 이동되었습니다. [GitHub wiki](https://github.com/facebook/react/wiki/Complementary-Tools). diff --git a/docs/docs/complementary-tools.md b/docs/docs/complementary-tools.md index 0d4190c1b8..10e8dba553 100644 --- a/docs/docs/complementary-tools.md +++ b/docs/docs/complementary-tools.md @@ -1,9 +1,5 @@ --- -id: complementary-tools -title: Complementary Tools permalink: complementary-tools.html -prev: videos.html -next: examples.html +layout: redirect +dest_url: https://github.com/facebook/react/wiki/Complementary-Tools --- - -This page has moved to the [GitHub wiki](https://github.com/facebook/react/wiki/Complementary-Tools). diff --git a/docs/docs/complementary-tools.zh-CN.md b/docs/docs/complementary-tools.zh-CN.md index 7ca84842bd..797700c15e 100644 --- a/docs/docs/complementary-tools.zh-CN.md +++ b/docs/docs/complementary-tools.zh-CN.md @@ -1,9 +1,5 @@ --- -id: complementary-tools-zh-CN -title: 补充工具 permalink: complementary-tools-zh-CN.html -prev: videos-zh-CN.html -next: examples-zh-CN.html +layout: redirect +dest_url: https://github.com/facebook/react/wiki/Complementary-Tools --- - -本页被移到了 [GitHub wiki](https://github.com/facebook/react/wiki/Complementary-Tools)。 diff --git a/docs/docs/examples.it-IT.md b/docs/docs/examples.it-IT.md index 3b8ae972a7..7166c57bbe 100644 --- a/docs/docs/examples.it-IT.md +++ b/docs/docs/examples.it-IT.md @@ -1,8 +1,5 @@ --- -id: examples-it-IT -title: Esempi permalink: examples-it-IT.html -prev: complementary-tools-it-IT.html +layout: redirect +dest_url: https://github.com/facebook/react/wiki/Examples --- - -Questa pagina è stata spostata sul [wiki di GitHub](https://github.com/facebook/react/wiki/Examples). diff --git a/docs/docs/examples.ko-KR.md b/docs/docs/examples.ko-KR.md index 30b1971935..3b46fa57d2 100644 --- a/docs/docs/examples.ko-KR.md +++ b/docs/docs/examples.ko-KR.md @@ -1,8 +1,5 @@ --- -id: examples-ko-KR -title: 예제들 permalink: examples-ko-KR.html -prev: complementary-tools-ko-KR.html +layout: redirect +dest_url: https://github.com/facebook/react/wiki/Examples --- - -이 페이지는 이동되었습니다. [GitHub wiki](https://github.com/facebook/react/wiki/Examples). diff --git a/docs/docs/examples.md b/docs/docs/examples.md index 2143742d7a..c697ffdf5f 100644 --- a/docs/docs/examples.md +++ b/docs/docs/examples.md @@ -1,8 +1,5 @@ --- -id: examples -title: Examples permalink: examples.html -prev: complementary-tools.html +layout: redirect +dest_url: https://github.com/facebook/react/wiki/Examples --- - -This page has moved to the [GitHub wiki](https://github.com/facebook/react/wiki/Examples). diff --git a/docs/docs/examples.zh-CN.md b/docs/docs/examples.zh-CN.md index 811aff662a..057bedb9e6 100644 --- a/docs/docs/examples.zh-CN.md +++ b/docs/docs/examples.zh-CN.md @@ -1,8 +1,5 @@ --- -id: examples-zh-CN -title: 示例 permalink: examples-zh-CN.html -prev: complementary-tools-zh-CN.html +layout: redirect +dest_url: https://github.com/facebook/react/wiki/Examples --- - -本页被移到了 [GitHub wiki](https://github.com/facebook/react/wiki/Examples)。