

def _get_sphinx_output(self, resource):
    'Get the sphinx output for a given resource.\n\n        This returns a dict mapping block names to HTML text fragments.\n        The most important fragment is "body" which contains the main text\n        of the document.  The other fragments are for things like navigation,\n        related pages and so-on.\n        '
    relpath = File(resource.relative_path)
    relpath = relpath.parent.child((relpath.name_without_extension + '.fjson'))
    with open(self.sphinx_build_dir.child(relpath), 'rb') as f:
        return json.load(f)

dataset/ETHPy150Open hyde/hyde/hyde/ext/plugins/sphinx.py SphinxPlugin._get_sphinx_output/original