This section is a work in progress.
Navbar
Navbar Title & Logo
You can add a logo and title to the navbar via themeConfig.navbar
. Logo can be placed in static folder.
// docusaurus.config.jsmodule.exports = {themeConfig: {navbar: {title: 'Site Title',logo: {alt: 'Site Logo',src: 'img/logo.svg',},}}
Navbar Links
You can add links to the navbar via themeConfig.navbar.links
:
// docusaurus/config.jsmodule.exports = {themeConfig: {navbar: {links: [{to: 'docs/docusaurus.config.js',label: 'docusaurus.config.js',position: 'left',},// ... other links],}}
Outbound links automatically get target="_blank" rel="noopener noreferrer"
.