[DOCS] expand docs on mapping
Improve build generation of resources
Add extra pig test