GitBook Style Guide Plugin
This plugin is meant to be used to generate the styleguide for European Commission theme.
Syntax
In the documentation, you can call the the plugin with the following syntax:
{% styleguide './templates/breadcrumb.html' %}{% endstyleguide %}
And here's how a template file should look like:
---src: scripts: '../scripts/breadcrumb.js' styles: - '../styles/_settings.scss' - '../styles/_objects.scss'--- You are here: European Commission Path 1 Path2
You can provide a custom configuration to the plugin in your book.json. Here's the one we use in EC: