QuantEcon / sphinxcontrib-jupyter

A Sphinx Extension for Generating Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
77 stars 23 forks source link

ENH: Jupyter kernel should be fetched from metadata for execution #318

Open mmcky opened 4 years ago

mmcky commented 4 years ago

The file has some hard coded language choices that should be removed to use kernel metadata for the document

        ## specifying kernels
        if language == 'python':
            ep = ExecutePreprocessor(timeout=-1, allow_errors=allow_errors, kernel_name='python3')
        elif language == 'julia':
            ep = ExecutePreprocessor(timeout=-1, allow_errors=allow_errors)