def addNodeDefinitionToDoc( doc, nodename, node ):
	#start with second level header for node name
	string = "\n\n=== %s anchor:node_%s[]\n" % (nodename,nodename)
	doc.write(string)

	#get node description from metadata
	desc = Gaffer.Metadata.nodeDescription(node)

	#record the node description from the metadata
	if desc is "":
		desc = __PLACEHOLDERSTRING
	string = "%s\n\n" % (desc)

	if len(node.children()) > 1: #if the node has plugs other than 'user' plug:
		#we're going to enter this title with it's own class so we can style it specifically
		string += '+++<div class="nonimage_title">+++Plugs:+++</div>+++\n\n'

	doc.write(string)
dataset/ETHPy150Open ImageEngine/gaffer/contrib/doc/GafferNodeReference/dynamicContentGenerators/nodeDescriptionGenerator.py/addNodeDefinitionToDoc/operator `==` -> `is`