Updates to the example site config

- Open Graph and Twitter Card images
- Enable on page navigation
- formtting
This commit is contained in:
Joel Marcey 2018-04-17 21:14:01 -07:00 committed by GitHub
parent e738bbd99e
commit fd04b44dda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;