Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 19 additions & 10 deletions docusaurus/website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';

const siteConfig = {
title: 'Create React App',
tagline: 'Set up a modern web app by running one command.',
url: 'https://create-react-app.dev',
url: 'barionleg.github.io/create-react-app',
baseUrl: '/',
projectName: 'create-react-app',
organizationName: 'facebook',
Expand All @@ -21,7 +22,7 @@ const siteConfig = {
path: '../docs',
sidebarPath: require.resolve('./sidebars.json'),
editUrl:
'https://github.com/facebook/create-react-app/edit/main/docusaurus/website',
'https://barionleg.github.io/create-react-app/edit/main/docusaurus/website',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
Expand All @@ -33,8 +34,18 @@ const siteConfig = {
],
themeConfig: {
image: 'img/logo-og.png',
announcementBar: {
id: 'support_ukraine',
content:
'Support Ukraine 🇺🇦 <a target="_blank" rel="noopener noreferrer" \
href="https://opensource.facebook.com/support-ukraine"> Help Provide Humanitarian Aid to Ukraine</a>.',
backgroundColor: '#20232a',
textColor: '#fff',
isCloseable: false,
},
algolia: {
apiKey: '3be60f4f8ffc24c75da84857d6323791',
appId: 'ZEDJGESZ31',
apiKey: '2afdaf81c56aaab687dbbb777a620e10',
indexName: 'create-react-app',
},
navbar: {
Expand All @@ -51,7 +62,7 @@ const siteConfig = {
position: 'right',
},
{
href: 'https://www.github.com/facebook/create-react-app',
href: 'https://barionleg.github.io/create-react-app',
label: 'GitHub',
position: 'right',
},
Expand All @@ -78,21 +89,19 @@ const siteConfig = {
items: [
{
label: 'Stack Overflow',
href:
'https://stackoverflow.com/questions/tagged/create-react-app',
href: 'https://stackoverflow.com/questions/tagged/create-react-app',
},
{
label: 'GitHub Discussions',
href: 'https://github.com/facebook/create-react-app/discussions',
href: 'https://barionleg.github.io/create-react-app/discussions',
},
{
label: 'Twitter',
href: 'https://twitter.com/reactjs',
},
{
label: 'Contributor Covenant',
href:
'https://www.contributor-covenant.org/version/1/4/code-of-conduct',
href: 'https://www.contributor-covenant.org/version/1/4/code-of-conduct',
},
],
},
Expand All @@ -101,7 +110,7 @@ const siteConfig = {
items: [
{
label: 'GitHub',
href: 'https://www.github.com/facebook/create-react-app',
href: 'https://barionleg.github.io/create-react-app',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion docusaurus/website/static/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
create-react-app.dev
https://barionleg.github.io/create-react-app