Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Editing the Pattern Lab Website Source Files

Dave Olsen edited this page Jul 17, 2013 · 2 revisions

Because the PHP version of Pattern Lab is a static site generator you should not edit the files in the public/ directory. Instead, you should edit the files under the source/ directory. In addition to editing patterns under the source/ directory you'll want to edit your JavaScript, CSS, and images as well. Each time your site is generated your files will be automatically moved to the public/ directory and the patterns will be automatically compiled.

Generating the Pattern Lab website after each change can be cumbersome. The PHP version of Pattern Lab comes with the ability to watch files in the source/ directory for changes and re-generate the site automatically. The Pattern Lab website can also be automatically reloaded.

Clone this wiki locally