doc: add documents about switch package