QuantEcon / quantecon-book-theme

A Jupyter Book Theme for QuantEcon Book Style Projects
BSD 3-Clause "New" or "Revised" License
41 stars 21 forks source link

MAINT: Improve robustness #156

Closed mmcky closed 3 years ago

mmcky commented 3 years ago

To improve robustness the download notebook link should only show up with _notebooks is found.

mmcky commented 3 years ago

@AakashGfude I have setup the Continuous Time Markov Chain lectures with the quantecon theme for jupyter-book but it has a link to the download notebooks. Can we wrap these download notebooks icon in an if statement and only show this element if notebooks are present when building the site.

jstac commented 3 years ago

Thanks guys. (If this is too much hassle then we can just provide the notebooks.)

mmcky commented 3 years ago

It's no worries @jstac -- it is a quick fix.