Doc adaptation