Building docs and examples

Closes #1.