

def _run_sphinx(self):
    "Run sphinx to generate the necessary output files.\n\n        This method creates a temporary directory for sphinx's output, then\n        run sphinx against the Hyde input directory.\n        "
    logger.info('running sphinx')
    conf_path.sphinx_build_dir = Folder(tempfile.mkdtemp())
    conf_path = self.site.sitepath.child_folder(self.settings.conf_path)
    sphinx_args = ['sphinx-build']
    sphinx_args.extend(['-b', 'hyde_json', '-c', conf_path.path, self.site.content.path, self.sphinx_build_dir.path])
    if (sphinx.main(sphinx_args) != 0):
        raise RuntimeError('sphinx build failed')

dataset/ETHPy150Open hyde/hyde/hyde/ext/plugins/sphinx.py SphinxPlugin._run_sphinx/VarMisuse@19/89 `self`->`conf_path`