Add labels to the API documentation

With these labels, `:ref:` can be used through the documentation to create links to sections of the API.