docs fix: add docs for pubsub.