[doc] Document a bunch of syntax and options