Skip to content

Project Structure

Matt Hinchliffe edited this page Sep 26, 2013 · 8 revisions

A project skeleton can be generated by the robot scratch command.

[-] your-project
 |  [+] output        (compiled output)
 |  [-] source
 |   |  [+] data      (JSON, YAML or JavaScript data)
 |   |  [+] layouts   (HTML layouts)
 |   |  [+] pages     (HTML pages)
 |   |  [+] partials  (HTML partials)
 |  robot.json        (Project configuration)

The source and output directory paths can be configured by the project configuration file within the project root or via the --source and --output options for the robot compile command.

Getting Started: Previous: Command Line Interface, Next: Project Configuration

Something went wrong with that request. Please try again.