blueheadpublishing/bookshop — Issue #30: add build option to create previews
Author: dathompson
Created: 2012-01-29 23:01:29+00:00
State: open

When a user needs to create a preview version of their book for each of the different book types.

Example:

When a user needs to create a pdf preview edition of their book so that users can read a teaser-selection of the book.
They should be able to run 'bookshop build pdf -p".

The '-p' flag should trigger a preview bulid of the pdf.

There should be tags in the source code that serve to distinguish preview content.

One possible solution is to use a custom ERB tag, so:

<% if preview? %> Preview material <% end %>