Add documentation for view::share

This explains the `view::share` method and gives a basic usage example.