#NEWLINE# @ with_config #NEWLINE# def run( self , config ) : #NEWLINE# #INDENT# env = self . state . document . settings . env #NEWLINE# targetid = 'itemdescription-{0:d}' . format ( env . new_serialno ( 'itemdescription' ) ) #NEWLINE# targetnode = nodes . target ( '' , '' , ids = [ targetid ] ) #NEWLINE# para = nodes . paragraph ( ) #NEWLINE# generator = config . item_generator #NEWLINE# item = generator . generate_item ( name = self . arguments [ 0 ] ) #NEWLINE# para += nodes . Text ( item . description , item . description ) #NEWLINE# if ( not hasattr ( env , 'pyherc_context' ) ) : #NEWLINE# #INDENT# env . pyherc_context = DocumentationContext ( ) #NEWLINE# #UNINDENT# env . pyherc_context . items . append ( { #NEWLINE# #INDENT# 'docname' : env . docname , #NEWLINE# 'lineno' : self . lineno , #NEWLINE# 'item' : item , #NEWLINE# 'target' : targetnode , #NEWLINE# #UNINDENT# } ) #NEWLINE# return [ para ]