@staticmethod
def GetFunctionText(heading, name):
    """Returns the needed text to automatically document a function in RSF/sphinx"""
    und = '-' * len(heading)
    return '\n\n%s\n%s\n\n.. autofunction:: %s\n\n' % (heading, und, name)
