fix publishing and unpublishing of dependant documents
Everything appears to be in order. Bump to 1.0