clear up docs, show error in non-project directories