code: def run_directive(self, name,
                        arguments=None,
                        options=None,
                        content=None):
          
          if options is None:
              options = {}
          if content is None:
              content = []
          if arguments is None:
              arguments = []
          direc, _ = directive(name, self.language, self.document)
          direc = direc(name=name,
                        arguments=arguments,
                        options=options,
                        content=content,
                        lineno=self.node.line,
                        content_offset=0,
                        block_text='Dummy BlockText',
                        state=self.state,
                        state_machine=self)
          return direc.run()
docs: Generate directive node given arguments.
  
          Parameters
          ----------
          name : str
              name of directive.
          arguments : list
              list of positional arguments.
          options : dict
              key value arguments.
          content : content
              content of the directive
  
          Returns
          -------
          node : docutil Node
              Node generated by the arguments.