benmanu / silverstripe-styleguide

Generates a styleguide for a SilverStripe theme.
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

Add ability to populate templates with mock data #2

Closed benmanu closed 9 years ago

benmanu commented 9 years ago

At the moment any custom defined SilverStripe templates are rendered with the StyleGuideController. There should be a way to define the data that renders through a template.

benmanu commented 9 years ago

Experimenting has started on the experiments/yml-fixtures branch.

benmanu commented 9 years ago

Template populating added commit b3173734c87c874d7f30ab60246299aeda50e389, see the Fixtures section in the readme for an example.