Adapt doc