QuantEcon / jupinx

Jupyter + Sphinx Utilities and Tools
https://quantecon.github.io/jupinx/
20 stars 4 forks source link

FEAT: Added jupyter_kernels and extensions list in conf template #10

Closed AakashGfude closed 5 years ago

AakashGfude commented 5 years ago

This PR has the following changes :- 1) jupyter_kernels object in conf. Jupyter kernel lists at present has the following dict :-

('python3', {
        "kernelspec": {
            "display_name": "Python",
            "language": "python3",
            "name": "python3"
            },
        "file_extension": ".py",
    }),
    ('python2', {
        "kernelspec": {
            "display_name": "Python",
            "language": "python2",
            "name": "python2"
            },
        "file_extension": ".py",
    }),
    ('julia-1.1', {
        "kernelspec": {
            "display_name": "Julia 1.1",
            "language": "julia",
            "name": "julia-1.1"
            },
        "file_extension": ".jl"
    })

2) populating the conf file's extensions array with the list of extensions from the quickstart module. 3) asking to install sphinxcontrib.bibtex as well in the quickstart prompt. 4) if sphinxcontrib-jupyter module is not found, then installing it forcefully.