how export documentation works