Replace underscores with dashes in doc path.