diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 9f440e7b..48b96040 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -9,12 +9,7 @@ module.exports = { root: true, - ignorePatterns: [ - '/website', - '**/binaries/**', - '**/build/**', - '**/generated/**', - ], + ignorePatterns: ['**/binaries/**', '**/build/**', '**/generated/**'], overrides: [ // Catch-all { diff --git a/.github/workflows/validate-website.yml b/.github/workflows/validate-website.yml index 359a4184..667ada06 100644 --- a/.github/workflows/validate-website.yml +++ b/.github/workflows/validate-website.yml @@ -25,7 +25,7 @@ jobs: - name: Build Website run: yarn build - working-directory: website-next + working-directory: website typecheck: name: Typecheck [Docusaurus] @@ -39,4 +39,4 @@ jobs: - name: yarn tsc run: yarn tsc - working-directory: website-next + working-directory: website diff --git a/package.json b/package.json index 4e8ae291..55a67fb6 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "workspaces": [ "javascript", "gentest", - "website-next" + "website" ], "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.30.5", diff --git a/website-next/.eslintrc.cjs b/website/.eslintrc.cjs similarity index 100% rename from website-next/.eslintrc.cjs rename to website/.eslintrc.cjs diff --git a/website-next/.gitignore b/website/.gitignore similarity index 100% rename from website-next/.gitignore rename to website/.gitignore diff --git a/website-next/README.md b/website/README.md similarity index 100% rename from website-next/README.md rename to website/README.md diff --git a/website-next/babel.config.cjs b/website/babel.config.cjs similarity index 100% rename from website-next/babel.config.cjs rename to website/babel.config.cjs diff --git a/website-next/blog/2023-06-30-announcing-yoga-2.0.md b/website/blog/2023-06-30-announcing-yoga-2.0.md similarity index 100% rename from website-next/blog/2023-06-30-announcing-yoga-2.0.md rename to website/blog/2023-06-30-announcing-yoga-2.0.md diff --git a/website-next/blog/authors.yml b/website/blog/authors.yml similarity index 100% rename from website-next/blog/authors.yml rename to website/blog/authors.yml diff --git a/website-next/blog/yoga-3-release/2024-05-11-announcing-yoga-3.0.md b/website/blog/yoga-3-release/2024-05-11-announcing-yoga-3.0.md similarity index 100% rename from website-next/blog/yoga-3-release/2024-05-11-announcing-yoga-3.0.md rename to website/blog/yoga-3-release/2024-05-11-announcing-yoga-3.0.md diff --git a/website-next/blog/yoga-3-release/img/image1.png b/website/blog/yoga-3-release/img/image1.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image1.png rename to website/blog/yoga-3-release/img/image1.png diff --git a/website-next/blog/yoga-3-release/img/image10.png b/website/blog/yoga-3-release/img/image10.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image10.png rename to website/blog/yoga-3-release/img/image10.png diff --git a/website-next/blog/yoga-3-release/img/image11.png b/website/blog/yoga-3-release/img/image11.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image11.png rename to website/blog/yoga-3-release/img/image11.png diff --git a/website-next/blog/yoga-3-release/img/image12.png b/website/blog/yoga-3-release/img/image12.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image12.png rename to website/blog/yoga-3-release/img/image12.png diff --git a/website-next/blog/yoga-3-release/img/image13.png b/website/blog/yoga-3-release/img/image13.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image13.png rename to website/blog/yoga-3-release/img/image13.png diff --git a/website-next/blog/yoga-3-release/img/image14.png b/website/blog/yoga-3-release/img/image14.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image14.png rename to website/blog/yoga-3-release/img/image14.png diff --git a/website-next/blog/yoga-3-release/img/image15.png b/website/blog/yoga-3-release/img/image15.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image15.png rename to website/blog/yoga-3-release/img/image15.png diff --git a/website-next/blog/yoga-3-release/img/image16.png b/website/blog/yoga-3-release/img/image16.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image16.png rename to website/blog/yoga-3-release/img/image16.png diff --git a/website-next/blog/yoga-3-release/img/image17.png b/website/blog/yoga-3-release/img/image17.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image17.png rename to website/blog/yoga-3-release/img/image17.png diff --git a/website-next/blog/yoga-3-release/img/image2.png b/website/blog/yoga-3-release/img/image2.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image2.png rename to website/blog/yoga-3-release/img/image2.png diff --git a/website-next/blog/yoga-3-release/img/image3.png b/website/blog/yoga-3-release/img/image3.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image3.png rename to website/blog/yoga-3-release/img/image3.png diff --git a/website-next/blog/yoga-3-release/img/image4.png b/website/blog/yoga-3-release/img/image4.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image4.png rename to website/blog/yoga-3-release/img/image4.png diff --git a/website-next/blog/yoga-3-release/img/image5.png b/website/blog/yoga-3-release/img/image5.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image5.png rename to website/blog/yoga-3-release/img/image5.png diff --git a/website-next/blog/yoga-3-release/img/image6.png b/website/blog/yoga-3-release/img/image6.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image6.png rename to website/blog/yoga-3-release/img/image6.png diff --git a/website-next/blog/yoga-3-release/img/image7.png b/website/blog/yoga-3-release/img/image7.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image7.png rename to website/blog/yoga-3-release/img/image7.png diff --git a/website-next/blog/yoga-3-release/img/image8.png b/website/blog/yoga-3-release/img/image8.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image8.png rename to website/blog/yoga-3-release/img/image8.png diff --git a/website-next/blog/yoga-3-release/img/image9.png b/website/blog/yoga-3-release/img/image9.png similarity index 100% rename from website-next/blog/yoga-3-release/img/image9.png rename to website/blog/yoga-3-release/img/image9.png diff --git a/website-next/docs/about-yoga.md b/website/docs/about-yoga.md similarity index 100% rename from website-next/docs/about-yoga.md rename to website/docs/about-yoga.md diff --git a/website-next/docs/advanced/_category_.json b/website/docs/advanced/_category_.json similarity index 100% rename from website-next/docs/advanced/_category_.json rename to website/docs/advanced/_category_.json diff --git a/website-next/docs/advanced/containing-block.md b/website/docs/advanced/containing-block.md similarity index 100% rename from website-next/docs/advanced/containing-block.md rename to website/docs/advanced/containing-block.md diff --git a/website-next/docs/advanced/external-layout-systems.mdx b/website/docs/advanced/external-layout-systems.mdx similarity index 100% rename from website-next/docs/advanced/external-layout-systems.mdx rename to website/docs/advanced/external-layout-systems.mdx diff --git a/website-next/docs/advanced/incremental-layout.mdx b/website/docs/advanced/incremental-layout.mdx similarity index 100% rename from website-next/docs/advanced/incremental-layout.mdx rename to website/docs/advanced/incremental-layout.mdx diff --git a/website-next/docs/getting-started/_category_.json b/website/docs/getting-started/_category_.json similarity index 100% rename from website-next/docs/getting-started/_category_.json rename to website/docs/getting-started/_category_.json diff --git a/website-next/docs/getting-started/configuring-yoga.mdx b/website/docs/getting-started/configuring-yoga.mdx similarity index 100% rename from website-next/docs/getting-started/configuring-yoga.mdx rename to website/docs/getting-started/configuring-yoga.mdx diff --git a/website-next/docs/getting-started/laying-out-a-tree.mdx b/website/docs/getting-started/laying-out-a-tree.mdx similarity index 100% rename from website-next/docs/getting-started/laying-out-a-tree.mdx rename to website/docs/getting-started/laying-out-a-tree.mdx diff --git a/website-next/docs/img/config-contextual.svg b/website/docs/img/config-contextual.svg similarity index 100% rename from website-next/docs/img/config-contextual.svg rename to website/docs/img/config-contextual.svg diff --git a/website-next/docs/img/config-per-node.svg b/website/docs/img/config-per-node.svg similarity index 100% rename from website-next/docs/img/config-per-node.svg rename to website/docs/img/config-per-node.svg diff --git a/website-next/docs/img/config-uniform.svg b/website/docs/img/config-uniform.svg similarity index 100% rename from website-next/docs/img/config-uniform.svg rename to website/docs/img/config-uniform.svg diff --git a/website-next/docs/img/invalidation-clean-tree.svg b/website/docs/img/invalidation-clean-tree.svg similarity index 100% rename from website-next/docs/img/invalidation-clean-tree.svg rename to website/docs/img/invalidation-clean-tree.svg diff --git a/website-next/docs/img/invalidation-dirtied-tree.svg b/website/docs/img/invalidation-dirtied-tree.svg similarity index 100% rename from website-next/docs/img/invalidation-dirtied-tree.svg rename to website/docs/img/invalidation-dirtied-tree.svg diff --git a/website-next/docs/img/invalidation-new-layout-tree.svg b/website/docs/img/invalidation-new-layout-tree.svg similarity index 100% rename from website-next/docs/img/invalidation-new-layout-tree.svg rename to website/docs/img/invalidation-new-layout-tree.svg diff --git a/website-next/docs/img/pixel-grid-after.png b/website/docs/img/pixel-grid-after.png similarity index 100% rename from website-next/docs/img/pixel-grid-after.png rename to website/docs/img/pixel-grid-after.png diff --git a/website-next/docs/img/pixel-grid-before.png b/website/docs/img/pixel-grid-before.png similarity index 100% rename from website-next/docs/img/pixel-grid-before.png rename to website/docs/img/pixel-grid-before.png diff --git a/website-next/docs/img/wireframe-example.svg b/website/docs/img/wireframe-example.svg similarity index 100% rename from website-next/docs/img/wireframe-example.svg rename to website/docs/img/wireframe-example.svg diff --git a/website-next/docs/styling/_category_.json b/website/docs/styling/_category_.json similarity index 100% rename from website-next/docs/styling/_category_.json rename to website/docs/styling/_category_.json diff --git a/website-next/docs/styling/align-content.mdx b/website/docs/styling/align-content.mdx similarity index 100% rename from website-next/docs/styling/align-content.mdx rename to website/docs/styling/align-content.mdx diff --git a/website-next/docs/styling/align-items-self.mdx b/website/docs/styling/align-items-self.mdx similarity index 100% rename from website-next/docs/styling/align-items-self.mdx rename to website/docs/styling/align-items-self.mdx diff --git a/website-next/docs/styling/aspect-ratio.mdx b/website/docs/styling/aspect-ratio.mdx similarity index 100% rename from website-next/docs/styling/aspect-ratio.mdx rename to website/docs/styling/aspect-ratio.mdx diff --git a/website-next/docs/styling/display.mdx b/website/docs/styling/display.mdx similarity index 100% rename from website-next/docs/styling/display.mdx rename to website/docs/styling/display.mdx diff --git a/website-next/docs/styling/flex-basis-grow-shrink.mdx b/website/docs/styling/flex-basis-grow-shrink.mdx similarity index 100% rename from website-next/docs/styling/flex-basis-grow-shrink.mdx rename to website/docs/styling/flex-basis-grow-shrink.mdx diff --git a/website-next/docs/styling/flex-direction.mdx b/website/docs/styling/flex-direction.mdx similarity index 100% rename from website-next/docs/styling/flex-direction.mdx rename to website/docs/styling/flex-direction.mdx diff --git a/website-next/docs/styling/flex-wrap.mdx b/website/docs/styling/flex-wrap.mdx similarity index 100% rename from website-next/docs/styling/flex-wrap.mdx rename to website/docs/styling/flex-wrap.mdx diff --git a/website-next/docs/styling/gap.mdx b/website/docs/styling/gap.mdx similarity index 100% rename from website-next/docs/styling/gap.mdx rename to website/docs/styling/gap.mdx diff --git a/website-next/docs/styling/index.md b/website/docs/styling/index.md similarity index 100% rename from website-next/docs/styling/index.md rename to website/docs/styling/index.md diff --git a/website-next/docs/styling/insets.mdx b/website/docs/styling/insets.mdx similarity index 100% rename from website-next/docs/styling/insets.mdx rename to website/docs/styling/insets.mdx diff --git a/website-next/docs/styling/justify-content.mdx b/website/docs/styling/justify-content.mdx similarity index 100% rename from website-next/docs/styling/justify-content.mdx rename to website/docs/styling/justify-content.mdx diff --git a/website-next/docs/styling/layout-direction.mdx b/website/docs/styling/layout-direction.mdx similarity index 100% rename from website-next/docs/styling/layout-direction.mdx rename to website/docs/styling/layout-direction.mdx diff --git a/website-next/docs/styling/margin-padding-border.mdx b/website/docs/styling/margin-padding-border.mdx similarity index 100% rename from website-next/docs/styling/margin-padding-border.mdx rename to website/docs/styling/margin-padding-border.mdx diff --git a/website-next/docs/styling/min-max-width-height.mdx b/website/docs/styling/min-max-width-height.mdx similarity index 100% rename from website-next/docs/styling/min-max-width-height.mdx rename to website/docs/styling/min-max-width-height.mdx diff --git a/website-next/docs/styling/position.mdx b/website/docs/styling/position.mdx similarity index 100% rename from website-next/docs/styling/position.mdx rename to website/docs/styling/position.mdx diff --git a/website-next/docs/styling/width-height.mdx b/website/docs/styling/width-height.mdx similarity index 100% rename from website-next/docs/styling/width-height.mdx rename to website/docs/styling/width-height.mdx diff --git a/website-next/docusaurus.config.js b/website/docusaurus.config.js similarity index 100% rename from website-next/docusaurus.config.js rename to website/docusaurus.config.js diff --git a/website-next/package.json b/website/package.json similarity index 100% rename from website-next/package.json rename to website/package.json diff --git a/website-next/sidebars.cjs b/website/sidebars.cjs similarity index 100% rename from website-next/sidebars.cjs rename to website/sidebars.cjs diff --git a/website-next/src/components/EditorToolbar.module.css b/website/src/components/EditorToolbar.module.css similarity index 100% rename from website-next/src/components/EditorToolbar.module.css rename to website/src/components/EditorToolbar.module.css diff --git a/website-next/src/components/EditorToolbar.tsx b/website/src/components/EditorToolbar.tsx similarity index 100% rename from website-next/src/components/EditorToolbar.tsx rename to website/src/components/EditorToolbar.tsx diff --git a/website-next/src/components/FlexStyle.ts b/website/src/components/FlexStyle.ts similarity index 100% rename from website-next/src/components/FlexStyle.ts rename to website/src/components/FlexStyle.ts diff --git a/website-next/src/components/LayoutBox.module.css b/website/src/components/LayoutBox.module.css similarity index 100% rename from website-next/src/components/LayoutBox.module.css rename to website/src/components/LayoutBox.module.css diff --git a/website-next/src/components/LayoutBox.tsx b/website/src/components/LayoutBox.tsx similarity index 100% rename from website-next/src/components/LayoutBox.tsx rename to website/src/components/LayoutBox.tsx diff --git a/website-next/src/components/Playground.module.css b/website/src/components/Playground.module.css similarity index 100% rename from website-next/src/components/Playground.module.css rename to website/src/components/Playground.module.css diff --git a/website-next/src/components/Playground.tsx b/website/src/components/Playground.tsx similarity index 100% rename from website-next/src/components/Playground.tsx rename to website/src/components/Playground.tsx diff --git a/website-next/src/components/YogaViewer.tsx b/website/src/components/YogaViewer.tsx similarity index 100% rename from website-next/src/components/YogaViewer.tsx rename to website/src/components/YogaViewer.tsx diff --git a/website-next/src/css/custom.css b/website/src/css/custom.css similarity index 100% rename from website-next/src/css/custom.css rename to website/src/css/custom.css diff --git a/website-next/src/pages/index.module.css b/website/src/pages/index.module.css similarity index 100% rename from website-next/src/pages/index.module.css rename to website/src/pages/index.module.css diff --git a/website-next/src/pages/index.tsx b/website/src/pages/index.tsx similarity index 100% rename from website-next/src/pages/index.tsx rename to website/src/pages/index.tsx diff --git a/website-next/src/pages/markdown-page.md b/website/src/pages/markdown-page.md similarity index 100% rename from website-next/src/pages/markdown-page.md rename to website/src/pages/markdown-page.md diff --git a/website-next/src/pages/playground.module.css b/website/src/pages/playground.module.css similarity index 100% rename from website-next/src/pages/playground.module.css rename to website/src/pages/playground.module.css diff --git a/website-next/src/pages/playground.tsx b/website/src/pages/playground.tsx similarity index 100% rename from website-next/src/pages/playground.tsx rename to website/src/pages/playground.tsx diff --git a/website-next/static/.nojekyll b/website/static/.nojekyll similarity index 100% rename from website-next/static/.nojekyll rename to website/static/.nojekyll diff --git a/website-next/static/img/docusaurus.png b/website/static/img/docusaurus.png similarity index 100% rename from website-next/static/img/docusaurus.png rename to website/static/img/docusaurus.png diff --git a/website-next/static/img/favicon.png b/website/static/img/favicon.png similarity index 100% rename from website-next/static/img/favicon.png rename to website/static/img/favicon.png diff --git a/website-next/static/img/link.svg b/website/static/img/link.svg similarity index 100% rename from website-next/static/img/link.svg rename to website/static/img/link.svg diff --git a/website-next/static/img/logo.svg b/website/static/img/logo.svg similarity index 100% rename from website-next/static/img/logo.svg rename to website/static/img/logo.svg diff --git a/website-next/static/img/meta_oss.svg b/website/static/img/meta_oss.svg similarity index 100% rename from website-next/static/img/meta_oss.svg rename to website/static/img/meta_oss.svg diff --git a/website-next/static/img/undraw_docusaurus_mountain.svg b/website/static/img/undraw_docusaurus_mountain.svg similarity index 100% rename from website-next/static/img/undraw_docusaurus_mountain.svg rename to website/static/img/undraw_docusaurus_mountain.svg diff --git a/website-next/static/img/undraw_docusaurus_react.svg b/website/static/img/undraw_docusaurus_react.svg similarity index 100% rename from website-next/static/img/undraw_docusaurus_react.svg rename to website/static/img/undraw_docusaurus_react.svg diff --git a/website-next/static/img/undraw_docusaurus_tree.svg b/website/static/img/undraw_docusaurus_tree.svg similarity index 100% rename from website-next/static/img/undraw_docusaurus_tree.svg rename to website/static/img/undraw_docusaurus_tree.svg diff --git a/website-next/tsconfig.json b/website/tsconfig.json similarity index 100% rename from website-next/tsconfig.json rename to website/tsconfig.json