Full, up to date information on how to contribute to libvirt can be found on the libvirt website:
https://libvirt.org/contribute.html
To build the same document locally, from the top level directory of your git clone run:
$ mkdir build && cd build $ ../autogen.sh $ make
You'll find the freshly-built document in docs/contribute.html
.