check syntax and docs build