diff --git a/website-next/docusaurus.config.js b/website-next/docusaurus.config.js index 3cdc0a00..dbcea995 100644 --- a/website-next/docusaurus.config.js +++ b/website-next/docusaurus.config.js @@ -6,34 +6,25 @@ */ // @ts-check -// Note: type annotations allow type checking and IDEs autocompletion const lightCodeTheme = require('prism-react-renderer/themes/github'); const darkCodeTheme = require('prism-react-renderer/themes/dracula'); /** @type {import('@docusaurus/types').Config} */ const config = { - title: 'My Site', - tagline: 'Dinosaurs are cool', - favicon: 'img/favicon.ico', + title: 'Yoga', + tagline: 'Build flexible layouts on any platform with a highly optimized open source layout engine designed with speed, size, and ease of use in mind.', + favicon: 'img/favicon.png', - // Set the production url of your site here - url: 'https://your-docusaurus-test-site.com', - // Set the // pathname under which your site is served - // For GitHub pages deployment, it is often '//' + url: 'https:/yogalayout.com', baseUrl: '/', - // GitHub pages deployment config. - // If you aren't using GitHub pages, you don't need these. - organizationName: 'facebook', // Usually your GitHub org/user name. - projectName: 'docusaurus', // Usually your repo name. + organizationName: 'facebook', + projectName: 'yoga', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', - // Even if you don't use internalization, you can use this field to set useful - // metadata like html lang. For example, if your site is Chinese, you may want - // to replace "en" with "zh-Hans". i18n: { defaultLocale: 'en', locales: ['en'], @@ -46,17 +37,13 @@ const config = { ({ docs: { sidebarPath: require.resolve('./sidebars.js'), - // Please change this to your repo. - // Remove this to remove the "edit this page" links. editUrl: - 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + 'https://github.com/facebook/yoga/tree/main/website', }, blog: { showReadingTime: true, - // Please change this to your repo. - // Remove this to remove the "edit this page" links. editUrl: - 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + 'https://github.com/facebook/yoga/tree/main/website', }, theme: { customCss: require.resolve('./src/css/custom.css'), @@ -68,12 +55,10 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ - // Replace with your project's social card - image: 'img/docusaurus-social-card.jpg', navbar: { - title: 'My Site', + title: 'Yoga', logo: { - alt: 'My Site Logo', + alt: 'Yoga Logo', src: 'img/logo.svg', }, items: [ @@ -108,15 +93,11 @@ const config = { items: [ { label: 'Stack Overflow', - href: 'https://stackoverflow.com/questions/tagged/docusaurus', - }, - { - label: 'Discord', - href: 'https://discordapp.com/invite/docusaurus', + href: 'https://stackoverflow.com/questions/tagged/yoga', }, { label: 'Twitter', - href: 'https://twitter.com/docusaurus', + href: 'https://twitter.com/yogalayout', }, ], }, @@ -129,12 +110,12 @@ const config = { }, { label: 'GitHub', - href: 'https://github.com/facebook/docusaurus', + href: 'https://github.com/facebook/yoga', }, ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, + copyright: `Copyright © ${new Date().getFullYear()} Meta Platforms, Inc.`, }, prism: { theme: lightCodeTheme, diff --git a/website-next/static/img/docusaurus-social-card.jpg b/website-next/static/img/docusaurus-social-card.jpg deleted file mode 100644 index ffcb4482..00000000 Binary files a/website-next/static/img/docusaurus-social-card.jpg and /dev/null differ diff --git a/website-next/static/img/favicon.ico b/website-next/static/img/favicon.ico deleted file mode 100644 index c01d54bc..00000000 Binary files a/website-next/static/img/favicon.ico and /dev/null differ diff --git a/website-next/static/img/favicon.png b/website-next/static/img/favicon.png new file mode 100644 index 00000000..178f2730 Binary files /dev/null and b/website-next/static/img/favicon.png differ diff --git a/website-next/static/img/logo.svg b/website-next/static/img/logo.svg index 9db6d0d0..1d52ad01 100644 --- a/website-next/static/img/logo.svg +++ b/website-next/static/img/logo.svg @@ -1 +1,17 @@ - \ No newline at end of file + + + + + + + + + + + + +