[spec] Add doclet spec.
Update formatting to 2 spaces.