Create a new paddle build option to build documentation library (#13063)
Create a new paddle build option to build documentation library (#13063)

* Create a new paddle build option to build documentation library

* only build copy_paddle_pybind

* Update the to build paddle_python

* build everything

* Use DWITH_FLUID_ONLY

* add build lite

* add a smaller lib

* Update the gen_doc_lib function to handle multiple cases.

* Prevent Paddle triggering documents deployment.

PaddlePaddle/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,chengduoZH/Paddle,baidu/Paddle,luotao1/Paddle,tensor-tang/Paddle,luotao1/Paddle,tensor-tang/Paddle,baidu/Paddle,luotao1/Paddle,luotao1/Paddle,luotao1/Paddle,reyoung/Paddle,reyoung/Paddle,reyoung/Paddle,PaddlePaddle/Paddle,PaddlePaddle/Paddle,baidu/Paddle,PaddlePaddle/Paddle,reyoung/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,baidu/Paddle,tensor-tang/Paddle,chengduoZH/Paddle,chengduoZH/Paddle,tensor-tang/Paddle,tensor-tang/Paddle,PaddlePaddle/Paddle,reyoung/Paddle,chengduoZH/Paddle,reyoung/Paddle,baidu/Paddle