Compile doc