'Create a fake Sphinx project for test purposes.
Creates a fake Sphinx project with the absolute minimum of source
files.  This includes a single source file (\'index.rst\') and the
smallest \'conf.py\' file possible in order to find that source file.'

def createFakeSphinxProject(self):

    self.sourceDir.child('conf.py').setContent(self.confContent.encode('utf-8'))
    self.sourceDir.child('index.rst').setContent(self.indexContent.encode('utf-8'))
