mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 12:17:20 +02:00
Update example URLs
This commit is contained in:
parent
bb074088b5
commit
d33489cf16
4 changed files with 12 additions and 11 deletions
|
@ -123,10 +123,11 @@ const users = [
|
|||
const siteConfig = {
|
||||
title: "Docusaurus",
|
||||
tagline: "Generate websites!",
|
||||
url: "https://deltice.github.io",
|
||||
// url: "https://www.example.com",
|
||||
baseUrl: "/test-site/",
|
||||
// baseUrl: "/",
|
||||
url: "https://docusaurus.io",
|
||||
baseUrl: "/",
|
||||
// For github.io type URLS, you would combine the url and baseUrl like:
|
||||
// url: "https://reasonml.github.io",
|
||||
// url: "/reason-react/",
|
||||
organizationName: "facebook",
|
||||
projectName: "docusaurus",
|
||||
noIndex: false,
|
||||
|
@ -136,14 +137,14 @@ const siteConfig = {
|
|||
{ search: true },
|
||||
{ blog: true }
|
||||
],
|
||||
// headerLinks: [],
|
||||
// For no header links in the top nav bar -> headerLinks: [],
|
||||
headerIcon: "img/docusaurus.svg",
|
||||
favicon: "img/favicon.png",
|
||||
colors: {
|
||||
primaryColor: "#2E8555",
|
||||
secondaryColor: "#205C3B"
|
||||
},
|
||||
editUrl: "https://github.com/deltice/test-site/edit/master/docs/",
|
||||
editUrl: "https://github.com/facebook/docusaurus/edit/master/docs/",
|
||||
users,
|
||||
disableHeaderTitle: true,
|
||||
disableTitleTagline: true,
|
||||
|
|
|
@ -77,7 +77,7 @@ class Footer extends React.Component {
|
|||
className="github-button"
|
||||
href={this.props.config.repoUrl}
|
||||
data-icon="octicon-star"
|
||||
data-count-href="/deltice/test-site/stargazers"
|
||||
data-count-href="/facebook/docusaurus/stargazers"
|
||||
data-show-count={true}
|
||||
data-count-aria-label="# stargazers on GitHub"
|
||||
aria-label="Star this project on GitHub">
|
||||
|
|
|
@ -33,7 +33,7 @@ class Users extends React.Component {
|
|||
<div className="logos">{showcase}</div>
|
||||
<p>Are you using this project?</p>
|
||||
<a
|
||||
href="https://github.com/deltice/test-site/edit/master/website/siteConfig.js"
|
||||
href="https://github.com/facebook/docusaurus/edit/master/website/siteConfig.js"
|
||||
className="button">
|
||||
Add your company
|
||||
</a>
|
||||
|
|
|
@ -10,7 +10,7 @@ const users = [
|
|||
{
|
||||
caption: 'User1',
|
||||
image: '/test-site/img/docusaurus.svg',
|
||||
infoLink: 'https://www.example.com',
|
||||
infoLink: 'https://www.facebook.com',
|
||||
pinned: true,
|
||||
},
|
||||
];
|
||||
|
@ -18,7 +18,7 @@ const users = [
|
|||
const siteConfig = {
|
||||
title: 'Test Site' /* title for your website */,
|
||||
tagline: 'A website for testing',
|
||||
url: 'https://deltice.github.io' /* your website url */,
|
||||
url: 'https://facebook.github.io' /* your website url */,
|
||||
baseUrl: '/test-site/' /* base url for your project */,
|
||||
projectName: 'test-site',
|
||||
headerLinks: [
|
||||
|
@ -48,7 +48,7 @@ const siteConfig = {
|
|||
},
|
||||
scripts: ['https://buttons.github.io/buttons.js'],
|
||||
// You may provide arbitrary config keys to be used as needed by your template.
|
||||
repoUrl: 'https://github.com/deltice/test-site',
|
||||
repoUrl: 'https://github.com/facebook/test-site',
|
||||
};
|
||||
|
||||
module.exports = siteConfig;
|
||||
|
|
Loading…
Add table
Reference in a new issue