scala format doc