[master] add shared-ptr to generate-docs