documenting share_type in unshare a library