mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
chore(create): update the facebook template with current assets (#7639)
This commit is contained in:
parent
331b83ca40
commit
39e3e3715e
12 changed files with 24 additions and 19 deletions
|
@ -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
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* 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',
|
' * This source code is licensed under the MIT license found in the',
|
||||||
' * LICENSE file in the root directory of this source tree.',
|
' * LICENSE file in the root directory of this source tree.',
|
||||||
|
|
|
@ -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
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
|
|
@ -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
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
|
|
@ -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
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
@ -54,9 +54,9 @@ const config = {
|
||||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||||
({
|
({
|
||||||
navbar: {
|
navbar: {
|
||||||
title: 'My Facebook Project',
|
title: 'My Meta Project',
|
||||||
logo: {
|
logo: {
|
||||||
alt: 'My Facebook Project Logo',
|
alt: 'My Meta Project Logo',
|
||||||
src: 'img/logo.svg',
|
src: 'img/logo.svg',
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
|
@ -127,30 +127,32 @@ const config = {
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Privacy',
|
label: 'Privacy',
|
||||||
href: 'https://opensource.facebook.com/legal/privacy/',
|
href: 'https://opensource.fb.com/legal/privacy/',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Terms',
|
label: 'Terms',
|
||||||
href: 'https://opensource.facebook.com/legal/terms/',
|
href: 'https://opensource.fb.com/legal/terms/',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Data Policy',
|
label: 'Data Policy',
|
||||||
href: 'https://opensource.facebook.com/legal/data-policy/',
|
href: 'https://opensource.fb.com/legal/data-policy/',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Cookie Policy',
|
label: 'Cookie Policy',
|
||||||
href: 'https://opensource.facebook.com/legal/cookie-policy/',
|
href: 'https://opensource.fb.com/legal/cookie-policy/',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
logo: {
|
logo: {
|
||||||
alt: 'Facebook Open Source Logo',
|
alt: 'Meta Open Source Logo',
|
||||||
src: 'img/oss_logo.png',
|
// This default includes a positive & negative version, allowing for
|
||||||
href: 'https://opensource.facebook.com',
|
// 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 :)
|
// 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.`,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
|
|
@ -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
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
|
|
@ -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
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
|
|
@ -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
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
|
1
packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo.svg
vendored
Normal file
1
packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 14 KiB |
1
packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo_negative.svg
vendored
Normal file
1
packages/create-docusaurus/templates/facebook/static/img/meta_opensource_logo_negative.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.6 KiB |
|
@ -197,6 +197,7 @@ nuxt
|
||||||
onboarded
|
onboarded
|
||||||
opensearch
|
opensearch
|
||||||
opensearchdescription
|
opensearchdescription
|
||||||
|
opensource
|
||||||
optimizt
|
optimizt
|
||||||
optind
|
optind
|
||||||
orta
|
orta
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue