mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
Updates to the example site config
- Open Graph and Twitter Card images - Enable on page navigation - formtting
This commit is contained in:
parent
e738bbd99e
commit
fd04b44dda
1 changed files with 11 additions and 4 deletions
|
@ -79,14 +79,21 @@ const siteConfig = {
|
||||||
theme: 'default',
|
theme: 'default',
|
||||||
},
|
},
|
||||||
|
|
||||||
scripts: ['https://buttons.github.io/buttons.js'],
|
// Add custom scripts here that would be placed in <script> tags
|
||||||
|
scripts: [
|
||||||
|
'https://buttons.github.io/buttons.js'
|
||||||
|
],
|
||||||
|
|
||||||
|
/* On page navigation for the current documentation page */
|
||||||
|
onPageNav: 'separate',
|
||||||
|
|
||||||
|
/* Open Graph and Twitter card images */
|
||||||
|
ogImage: 'img/docusaurus.png',
|
||||||
|
twitterImage: 'img/docusaurus.png',
|
||||||
|
|
||||||
// You may provide arbitrary config keys to be used as needed by your
|
// You may provide arbitrary config keys to be used as needed by your
|
||||||
// template. For example, if you need your repo's URL...
|
// template. For example, if you need your repo's URL...
|
||||||
// repoUrl: 'https://github.com/facebook/test-site',
|
// repoUrl: 'https://github.com/facebook/test-site',
|
||||||
|
|
||||||
/* On page navigation for the current documentation page */
|
|
||||||
// onPageNav: 'separate',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = siteConfig;
|
module.exports = siteConfig;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue