minor fixes to api doc template

also ignore tests and vendor