Enhance doc generation for Wiki and samples