doc: Start writing some in-tree documentation