add docs to gadget example