QuantEcon / sphinxcontrib-jupyter

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

Default installation Issue with setting headers ... #25

Closed mmcky closed 6 years ago

mmcky commented 6 years ago

@NickSifniotis is this the latest version of the sphinx jupyter converter? I seem to recall having this issue before can't remember how to fix this.

https://github.com/QuantEcon/sphinxcontrib-jupyter/blob/aada7d3160f37d28c3688906f291ac8e6f979ff6/sphinxcontrib/jupyter/writers/translate_code.py#L44

Also should there be python3 here?

mmcky commented 6 years ago

Ah - the default conf.py file needs the following:

# Configure jupyter headers
jupyter_headers = {
    "python3": [
        ],
    "julia": [
        ],
}
mmcky commented 6 years ago

Fixed in README. Closing.