Ensure doc dir is created