Close
Close full mode
logoBooGi

Sidebar

Git RepositoryEdit on Github
Last update: 4 days ago by Mateusz FilipowiczReading time: 2 min

Metadata base configuration can be set in config.yaml under sidebar key.

PropertyDescriptionDefault value
sidebar.enabledSet to true to enable sidebar.true
sidebar.ignoreIndexSet to true to not show main page (index) as first entry in the sidebar.false
sidebar.forcedNavOrderList of paths, for which order in sidebar will be enforced. It has priority over any other order setting. Read more about navigation.
sidebar.expandedList of paths which sidebar entries will be expanded by default, if they are nested.
sidebar.groupsList of sidebar groups.
sidebar.groups[].pathPath associated with the group. Read more about navigation to understand how to set this up.
sidebar.groups[].titleGroup title, it can include emojis.
sidebar.groups[].orderOrder number of groups. The lower number, the higher order and group will appear higher in sidebar. If not provided or there are groups with equal order, groups are sorted by name.
sidebar.groups[].iconURL to icon associated with the group. You can mix using emojis in group title and group icons.
sidebar.linksList of external links visible in at the bottom of sidebar.
sidebar.links[].textText of the external link.
sidebar.links[].linkExternal link URL.
sidebar.poweredBy.trademarkLogo for the Powered By component.
sidebar.poweredBy.nameName on the Powered By component. If name is not provided, Powered By component will be not visible.
sidebar.poweredBy.linkURL to the page, which will appear when clicked on Powered By component.

Full example:

sidebar:
enabled: true
forcedNavOrder:
- "/introduction"
- "/configuration/basic"
- "/configuration/advanced"
expanded:
- /configuration/advanced
groups:
- order: 1
path: "/gettingstarted"
title: "Getting Started"
icon: /assets/starting.png
- order: 2
path: "/configuration"
title: ":wrench: Configuration"
- order: 2
path: "/editing"
title: ":writing_hand: Editing Content"
ignoreIndex: false
links:
- text: BooGi
link: https://github.com/filipowm/boogi
poweredBy:
trademark: "/assets/gatsby.png"
name: GatsbyJS
link: https://www.gatsbyjs.org
Previous
Header
Next
Features