Generates a breadcrumbs navigation for requirements.
Link requirements in a parent-child relationship using the frontmatter key parent
Install the plugin
npm install tracey-plugin-breadcrumbs --save-dev
Add the plugin to the project configuration
// tracey.config.js
const BreadcrumbsPlugin = require('tracey-plugin-breadcrumbs');
module.exports = {
plugins: [
BreadcrumbsPlugin.plugin({ /* configuration options */ }),
],
};
The configuration object has the following options
Default: parent
Use this option to configure the frontmatter key for linking requirements
Default: >
Use this option to configure the breadcrumb separator