Edit this page
diff --git a/src/components/MarkdownPage/index.js b/src/components/MarkdownPage/index.js
index d3c6a193..b7974b7e 100644
--- a/src/components/MarkdownPage/index.js
+++ b/src/components/MarkdownPage/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/components/StickyResponsiveSidebar/StickyResponsiveSidebar.js b/src/components/StickyResponsiveSidebar/StickyResponsiveSidebar.js
index 32008cec..e680d18f 100644
--- a/src/components/StickyResponsiveSidebar/StickyResponsiveSidebar.js
+++ b/src/components/StickyResponsiveSidebar/StickyResponsiveSidebar.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/components/StickyResponsiveSidebar/index.js b/src/components/StickyResponsiveSidebar/index.js
index 742317c0..703a00f0 100644
--- a/src/components/StickyResponsiveSidebar/index.js
+++ b/src/components/StickyResponsiveSidebar/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/components/TitleAndMetaTags/TitleAndMetaTags.js b/src/components/TitleAndMetaTags/TitleAndMetaTags.js
index 9efae686..a96d3f58 100644
--- a/src/components/TitleAndMetaTags/TitleAndMetaTags.js
+++ b/src/components/TitleAndMetaTags/TitleAndMetaTags.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/components/TitleAndMetaTags/index.js b/src/components/TitleAndMetaTags/index.js
index dc26233a..5554f540 100644
--- a/src/components/TitleAndMetaTags/index.js
+++ b/src/components/TitleAndMetaTags/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/html.js b/src/html.js
index 5e186dd6..9cef1cc0 100644
--- a/src/html.js
+++ b/src/html.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
diff --git a/src/layouts/index.js b/src/layouts/index.js
index ca2e8c9f..2688bf3a 100644
--- a/src/layouts/index.js
+++ b/src/layouts/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/pages/404.js b/src/pages/404.js
index 94546822..7c51c22d 100644
--- a/src/pages/404.js
+++ b/src/pages/404.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
* @flow
diff --git a/src/pages/acknowledgements.html.js b/src/pages/acknowledgements.html.js
index 57dede18..bdf6816e 100644
--- a/src/pages/acknowledgements.html.js
+++ b/src/pages/acknowledgements.html.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/pages/blog/all.html.js b/src/pages/blog/all.html.js
index 44122b78..46012f3c 100644
--- a/src/pages/blog/all.html.js
+++ b/src/pages/blog/all.html.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
* @flow
diff --git a/src/pages/docs/error-decoder.html.js b/src/pages/docs/error-decoder.html.js
index 56a69dea..9ee18bb5 100644
--- a/src/pages/docs/error-decoder.html.js
+++ b/src/pages/docs/error-decoder.html.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/pages/jsx-compiler.html.js b/src/pages/jsx-compiler.html.js
index c3681604..1d8be59e 100644
--- a/src/pages/jsx-compiler.html.js
+++ b/src/pages/jsx-compiler.html.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
* @flow
diff --git a/src/prism-styles.js b/src/prism-styles.js
index 34b9c90c..9a47e445 100644
--- a/src/prism-styles.js
+++ b/src/prism-styles.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
* @flow
diff --git a/src/site-constants.js b/src/site-constants.js
index 8d3b25df..27168fa6 100644
--- a/src/site-constants.js
+++ b/src/site-constants.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @providesModule site-constants
* @flow
diff --git a/src/templates/blog.js b/src/templates/blog.js
index 6018771e..bf5a9290 100644
--- a/src/templates/blog.js
+++ b/src/templates/blog.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/community.js b/src/templates/community.js
index 1a576004..5b376767 100644
--- a/src/templates/community.js
+++ b/src/templates/community.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/components/ButtonLink/ButtonLink.js b/src/templates/components/ButtonLink/ButtonLink.js
index 7772eec7..1724e9c3 100644
--- a/src/templates/components/ButtonLink/ButtonLink.js
+++ b/src/templates/components/ButtonLink/ButtonLink.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/components/ButtonLink/index.js b/src/templates/components/ButtonLink/index.js
index a71cb870..01ffc0ec 100644
--- a/src/templates/components/ButtonLink/index.js
+++ b/src/templates/components/ButtonLink/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/components/ChevronSvg/index.js b/src/templates/components/ChevronSvg/index.js
index 9206aba1..ea952d99 100644
--- a/src/templates/components/ChevronSvg/index.js
+++ b/src/templates/components/ChevronSvg/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/components/ExternalLinkSvg/index.js b/src/templates/components/ExternalLinkSvg/index.js
index f3ca0a05..38210430 100644
--- a/src/templates/components/ExternalLinkSvg/index.js
+++ b/src/templates/components/ExternalLinkSvg/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/components/MetaTitle/index.js b/src/templates/components/MetaTitle/index.js
index b7519845..91345643 100644
--- a/src/templates/components/MetaTitle/index.js
+++ b/src/templates/components/MetaTitle/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/components/NavigationFooter/NavigationFooter.js b/src/templates/components/NavigationFooter/NavigationFooter.js
index 4b7b590e..3e658ec8 100644
--- a/src/templates/components/NavigationFooter/NavigationFooter.js
+++ b/src/templates/components/NavigationFooter/NavigationFooter.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/components/NavigationFooter/index.js b/src/templates/components/NavigationFooter/index.js
index e3379f6e..8fe4697e 100644
--- a/src/templates/components/NavigationFooter/index.js
+++ b/src/templates/components/NavigationFooter/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/components/Sidebar/Section.js b/src/templates/components/Sidebar/Section.js
index 7037f3b1..e212f03e 100644
--- a/src/templates/components/Sidebar/Section.js
+++ b/src/templates/components/Sidebar/Section.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
diff --git a/src/templates/components/Sidebar/Sidebar.js b/src/templates/components/Sidebar/Sidebar.js
index d94e2346..830b23e4 100644
--- a/src/templates/components/Sidebar/Sidebar.js
+++ b/src/templates/components/Sidebar/Sidebar.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
diff --git a/src/templates/components/Sidebar/index.js b/src/templates/components/Sidebar/index.js
index aa1b2c03..e7a62701 100644
--- a/src/templates/components/Sidebar/index.js
+++ b/src/templates/components/Sidebar/index.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/docs.js b/src/templates/docs.js
index 35c580d4..b2147aba 100644
--- a/src/templates/docs.js
+++ b/src/templates/docs.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/home.js b/src/templates/home.js
index d2410ec2..32b2cfdb 100644
--- a/src/templates/home.js
+++ b/src/templates/home.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/templates/tutorial.js b/src/templates/tutorial.js
index 734778ea..ac81446b 100644
--- a/src/templates/tutorial.js
+++ b/src/templates/tutorial.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/theme.js b/src/theme.js
index 50297bc9..b901e1db 100644
--- a/src/theme.js
+++ b/src/theme.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @providesModule theme
* @flow
diff --git a/src/types.js b/src/types.js
index 22a7a04e..659a0153 100644
--- a/src/types.js
+++ b/src/types.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
* @flow
diff --git a/src/utils/createLink.js b/src/utils/createLink.js
index 88bac825..f1b4bbf6 100644
--- a/src/utils/createLink.js
+++ b/src/utils/createLink.js
@@ -1,13 +1,11 @@
/**
- * Copyright 2015-present, Facebook, Inc.
- * All rights reserved.
+ * Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/utils/createOgUrl.js b/src/utils/createOgUrl.js
index c8e467c3..b2b4356a 100644
--- a/src/utils/createOgUrl.js
+++ b/src/utils/createOgUrl.js
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
diff --git a/src/utils/findSectionForPath.js b/src/utils/findSectionForPath.js
index 22ca8563..4abaf1d3 100644
--- a/src/utils/findSectionForPath.js
+++ b/src/utils/findSectionForPath.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/utils/isItemActive.js b/src/utils/isItemActive.js
index bb7d93dd..1ef5fbac 100644
--- a/src/utils/isItemActive.js
+++ b/src/utils/isItemActive.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/utils/mountCodeExample.js b/src/utils/mountCodeExample.js
index 3210ef3f..2ccfb588 100644
--- a/src/utils/mountCodeExample.js
+++ b/src/utils/mountCodeExample.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/utils/sectionList.js b/src/utils/sectionList.js
index d28e989b..604f854b 100644
--- a/src/utils/sectionList.js
+++ b/src/utils/sectionList.js
@@ -1,13 +1,11 @@
/**
- * Copyright 2015-present, Facebook, Inc.
- * All rights reserved.
+ * Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/utils/slugify.js b/src/utils/slugify.js
index 8a115cf6..fd2dcfe1 100644
--- a/src/utils/slugify.js
+++ b/src/utils/slugify.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/src/utils/toCommaSeparatedList.js b/src/utils/toCommaSeparatedList.js
index 0264e6dd..f21638c8 100644
--- a/src/utils/toCommaSeparatedList.js
+++ b/src/utils/toCommaSeparatedList.js
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * This source code is licensed under the CC-BY-4.0 license found
+ * in the LICENSE file in the root directory of this source tree.
*
* @emails react-core
-*/
+ */
'use strict';
diff --git a/static/_redirects b/static/_redirects
new file mode 100644
index 00000000..1ce66126
--- /dev/null
+++ b/static/_redirects
@@ -0,0 +1 @@
+/html-jsx.html http://magic.reactjs.net/htmltojsx.htm 301
\ No newline at end of file
diff --git a/static/html/single-file-example.html b/static/html/single-file-example.html
new file mode 100644
index 00000000..d0fe6b2c
--- /dev/null
+++ b/static/html/single-file-example.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Hello World
+
+
+
+
+
+
+
+
+