'Apply all post-transforms.'

def apply_post_transforms(self, doctree, docname):

    try:
        backup = copy(self.temp_data)
        self.temp_data['docname'] = docname
        transformer = SphinxTransformer(doctree)
        transformer.set_environment(self)
        transformer.add_transforms(self.app.post_transforms)
        transformer.apply_transforms()
    finally:
        self.temp_data = backup
    self.app.emit('doctree-resolved', doctree, docname)
