QuantEcon / sphinxcontrib-jupyter

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

resolve error with windows delimiters #67

Closed arnavs closed 6 years ago

arnavs commented 6 years ago

Resolves @jlperla's issue QuantEcon/sphinxcontrib-jupyter.minimal#2, which was fixed by switching UNIX-style delimiters / in a file to Windows ones \. This PR replaces them with a generic delimiter os.sep.

Note: There's one place in this function where / is still hardcoded, but since it didn't seem to break anything, I didn't want to touch it. I left a comment there.

mmcky commented 6 years ago

thanks @ArnavSood. I'll go ahead and merge this.