Add doc for compass. fix #40