Registering resources

This part of the documentation is not yet finished