This is Google's reference implementation of OGC KML 2.2. It also includes implementations of Google's gx: extensions used by Google Earth, as well as several utility libraries for working with other formats. All of original documentation written by google is imported into "wiki" branch: https://github.com/libkml/libkml/tree/wiki