libgit2 has a new documentation generator that generates API schema from our headers, then produces reference documentation that is included into the website directly.