Convert docs to YARD format