diff --git a/packages/create-docusaurus/templates/facebook/.eslintrc.js b/packages/create-docusaurus/templates/facebook/.eslintrc.js index e9cf75b4fe..8ccf3b17bd 100644 --- a/packages/create-docusaurus/templates/facebook/.eslintrc.js +++ b/packages/create-docusaurus/templates/facebook/.eslintrc.js @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. @@ -38,7 +38,7 @@ module.exports = { [ '*', - ' * Copyright (c) Facebook, Inc. and its affiliates.', + ' * Copyright (c) Meta Platforms, Inc. and affiliates.', ' *', ' * This source code is licensed under the MIT license found in the', ' * LICENSE file in the root directory of this source tree.', diff --git a/packages/create-docusaurus/templates/facebook/.stylelintrc.js b/packages/create-docusaurus/templates/facebook/.stylelintrc.js index efbe9b7be1..11b6ffb323 100644 --- a/packages/create-docusaurus/templates/facebook/.stylelintrc.js +++ b/packages/create-docusaurus/templates/facebook/.stylelintrc.js @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. diff --git a/packages/create-docusaurus/templates/facebook/babel.config.js b/packages/create-docusaurus/templates/facebook/babel.config.js index 81604ce8ec..84ad45acbd 100644 --- a/packages/create-docusaurus/templates/facebook/babel.config.js +++ b/packages/create-docusaurus/templates/facebook/babel.config.js @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. diff --git a/packages/create-docusaurus/templates/facebook/docusaurus.config.js b/packages/create-docusaurus/templates/facebook/docusaurus.config.js index d140034e07..34ce59f52a 100644 --- a/packages/create-docusaurus/templates/facebook/docusaurus.config.js +++ b/packages/create-docusaurus/templates/facebook/docusaurus.config.js @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. @@ -54,9 +54,9 @@ const config = { /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ navbar: { - title: 'My Facebook Project', + title: 'My Meta Project', logo: { - alt: 'My Facebook Project Logo', + alt: 'My Meta Project Logo', src: 'img/logo.svg', }, items: [ @@ -127,30 +127,32 @@ const config = { items: [ { label: 'Privacy', - href: 'https://opensource.facebook.com/legal/privacy/', + href: 'https://opensource.fb.com/legal/privacy/', }, { label: 'Terms', - href: 'https://opensource.facebook.com/legal/terms/', + href: 'https://opensource.fb.com/legal/terms/', }, { label: 'Data Policy', - href: 'https://opensource.facebook.com/legal/data-policy/', + href: 'https://opensource.fb.com/legal/data-policy/', }, { label: 'Cookie Policy', - href: 'https://opensource.facebook.com/legal/cookie-policy/', + href: 'https://opensource.fb.com/legal/cookie-policy/', }, ], }, ], logo: { - alt: 'Facebook Open Source Logo', - src: 'img/oss_logo.png', - href: 'https://opensource.facebook.com', + alt: 'Meta Open Source Logo', + // This default includes a positive & negative version, allowing for + // appropriate use depending on your site's style. + src: 'img/meta_opensource_logo_negative.png', + href: 'https://opensource.fb.com', }, // Please do not remove the credits, help to publicize Docusaurus :) - copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`, + copyright: `Copyright © ${new Date().getFullYear()} Meta Platforms, Inc. Built with Docusaurus.`, }, }), }; diff --git a/packages/create-docusaurus/templates/facebook/sidebars.js b/packages/create-docusaurus/templates/facebook/sidebars.js index 5449fd4f81..be7a480ce6 100644 --- a/packages/create-docusaurus/templates/facebook/sidebars.js +++ b/packages/create-docusaurus/templates/facebook/sidebars.js @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. diff --git a/packages/create-docusaurus/templates/facebook/src/css/custom.css b/packages/create-docusaurus/templates/facebook/src/css/custom.css index c11ab16716..2396bcccdb 100644 --- a/packages/create-docusaurus/templates/facebook/src/css/custom.css +++ b/packages/create-docusaurus/templates/facebook/src/css/custom.css @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. diff --git a/packages/create-docusaurus/templates/facebook/src/pages/index.js b/packages/create-docusaurus/templates/facebook/src/pages/index.js index 9ad8a8389c..6b378cd9d9 100644 --- a/packages/create-docusaurus/templates/facebook/src/pages/index.js +++ b/packages/create-docusaurus/templates/facebook/src/pages/index.js @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. diff --git a/packages/create-docusaurus/templates/facebook/src/pages/styles.module.css b/packages/create-docusaurus/templates/facebook/src/pages/styles.module.css index da1454b3f3..e74559a806 100644 --- a/packages/create-docusaurus/templates/facebook/src/pages/styles.module.css +++ b/packages/create-docusaurus/templates/facebook/src/pages/styles.module.css @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. diff --git a/packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo.svg b/packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo.svg new file mode 100644 index 0000000000..83a2175484 --- /dev/null +++ b/packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo_negative.svg b/packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo_negative.svg new file mode 100644 index 0000000000..b36a423e3b --- /dev/null +++ b/packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo_negative.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/create-docusaurus/templates/facebook/static/img/oss_logo.png b/packages/create-docusaurus/templates/facebook/static/img/oss_logo.png deleted file mode 100644 index 81923fc562..0000000000 Binary files a/packages/create-docusaurus/templates/facebook/static/img/oss_logo.png and /dev/null differ diff --git a/project-words.txt b/project-words.txt index c99e8d3919..1267e27183 100644 --- a/project-words.txt +++ b/project-words.txt @@ -197,6 +197,7 @@ nuxt onboarded opensearch opensearchdescription +opensource optimizt optind orta