Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.4 KB

configuration.md

File metadata and controls

56 lines (33 loc) · 1.4 KB

Configuration

You can set the following properties in your design-system-config.php config file.

navigation

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/',
],

assets_build_command

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

docs_path

Path where to build documentation pages from, relative to the project root.

Default value: docs/

site_title

The design system website title, this is outputted after page titles (the <title> tag) and in the footer.

Default value: null

templates_path

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/

zip_folder

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

zip_name

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