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