@bugaevc @sir We try to document the header files, which you'll find in include/wlr. You can also read the "Writing a Wayland compositor" blog post series on @sir's blog, which should be enough to get you started (might be a little bit outdated though).
@emersion @bugaevc this
Also ask us on IRC if you have questions