book-networks-public
book-networks-public copied to clipboard
MAINT: remove code-book and add download links
This PR
- [x] removes the code-book
- [x] converts existing
mdfiles toipynbfiles - [x] provides a new
notebookspage to link to github to download the notebook files for each chapter. - [x] @mmcky to do a review and error check
Deploy Preview for keen-wozniak-c08666 processing.
| Name | Link |
|---|---|
| Latest commit | 3aa7074c22592645055f2373b6191e5eb9d05348 |
| Latest deploy log | https://app.netlify.com/sites/keen-wozniak-c08666/deploys/6604f55e0816d900087b6db0 |
Deploy Preview for keen-wozniak-c08666 failed.
| Name | Link |
|---|---|
| Latest commit | b0e478a3a81073237e0eebaa617695b4e1a3c836 |
| Latest deploy log | https://app.netlify.com/sites/keen-wozniak-c08666/deploys/6621bc85222bbd0007c17c5f |
@DrDrij can you help make this table look better in this context?
https://6604f5338a0863359318839a--keen-wozniak-c08666.netlify.app/notebooks
I copied the code from https://dp.quantecon.org/code.html but i think it doesn't look great when it is just a single line.
Hey @mmcky I hope you don't mind I went ahead and just committed the change to the table.
This lines I edited are here: https://github.com/QuantEcon/book-networks-public/pull/62/files#diff-1935b95de07be14d4bfa51e8b6d87a248e2194e7dc56a775ebbf0ac4cafef1d1R32
The update should visually look like this:
And the HTML markup just added the second cell onto a new table row so it went from:
<table class="alt" style="width:50%;">
<tbody>
<tr>
<td>Python</td><td><a href="https://github.com/QuantEcon/book-networks-public/tree/main/notebooks">Files on GitHub</a></td>
</tr>
</tbody>
</table>
And now is:
<table class="alt" style="width:50%;">
<tbody>
<tr>
<td>Python</td>
</tr>
<tr>
<td><a href="https://github.com/QuantEcon/book-networks-public/tree/main/notebooks">Files on GitHub</a></td>
</tr>
</tbody>
</table>
Hope this is what you were after!
thanks @DrDrij
- [x] update location from
notebookstoipynbbut that link won't work until site is published (@mmcky check all links once new site is published)
@jstac this PR removes the code-book and replaces it with a static link to the collection of notebooks for each chapter. I don't see any collection of code in the book-networks repo so the source of truth are these notebooks as I understand.
https://github.com/QuantEcon/book-networks-public/tree/remove-code-book/ipynb
@jstac this PR removes the code-book and replaces it with a static link to the collection of notebooks for each chapter. I don't see any collection of code in the
book-networksrepo so the source of truth are these notebooks as I understand.https://github.com/QuantEcon/book-networks-public/tree/remove-code-book/ipynb
Thanks @mmcky. I don't think there are any corresponding notebooks in the private repo.
@jstac are you happy for this to be merged now?
The notebook link on
https://6621bc8f2253ce485588bfed--keen-wozniak-c08666.netlify.app/
won't work until this is merged as the assets are part of this PR.
@mmcky Perhaps we can go ahead and merge, so that all the links work, and then iterate if we need to?
Could you please fix any failing tests that you need to and then merge?
thanks @jstac I will merge then review the page in full.