User Guide / Other

JSON Endpoints

Lookbook currently implements a single JSON endpoint at /previews.json, returning previews and their scenarios:

[{
  "name" => "annotated",
  "scenarios" =>
    [
      {
        "name" => "default",
        "inspect_path" => "/lookbook/inspect/foo/bar/annotated/default"
      }
    ]
}]

User Guide

Extending Lookbook

API

Elsewhere