You can set the following properties in your design-system-config.php
config file.
Primary navigation for the design system, an array of labels and links. Please note these
links need to work on every page, so make these relative to the site root /
.
Default value:
'navigation' => [
'Home' => '/',
'Templates' => '/code/templates/',
],
Command to run to build frontend assets for your templates, by default this calls a shell script where you can add your frontend build commands.
Default value: ./design-system-build.sh
Path where to build documentation pages from, relative to the project root.
Default value: docs/
The design system website title, this is outputted after page titles (the <title>
tag) and in the footer.
Default value: null
Path where your template files are found, relative to the project root. Make sure all your code examples and other templates are in this location.
Default value: templates/
If set to a valid path, relative to the project root, a ZIP archive is created with the contents of the zip_folder path.
Default value: null
By default the last folder name is used as the ZIP archive filename and folder name in the ZIP archive. You can customise this by passing a zip_name.
Default value: null