docs: add document for the compatibility library Change-Id: I1825ae1fba0be664a7c6a8b0ba32166f216a893f