detect documentation in path