jckantor / nbpages

Command line tool to maintain a repository of Jupyter notebooks.
https://jckantor.github.io/nbpages/
MIT License
1 stars 4 forks source link

Update notebook.tpl with index.html.j2 template #64

Open docNathanM opened 8 months ago

docNathanM commented 8 months ago

@adowling2 ... I was so sorry to learn about @jckantor's passing last year ... I have been using his material in development of my class! Hopefully, you are still maintaining this project! I noted that all the *.html versions of the notebook pages had the word "None" at the top just before the "Doctype" element ... digging into nbconvert, it says that the full.tpl template is depreciated and we should use the index.html.j2 template instead. I tried it and it fixes the problems of having the word "None" show up at the top of each of the html pages.

adowling2 commented 8 months ago

@jckantor actually got me to migrate to JupyterBook about 2 years ago. Same ideas as nbpages but a larger community with many more features.

docNathanM commented 8 months ago

Can you point me to a project where this is set out so I can see how it’s done? Thanks!

Nathan E. Murray, Ph.D.

Interim Director, NCPA

Associate Professor of Chemical Engineering

Senior Scientist, Aeroacoustics, NCPA

Director, Mississippi NASA Space Grant Consortium

The University of Mississippi

145 Hill Drive

P.O. Box 1848

University, MS 38677-1848

U.S.A.

+1-662-915-3190

@.*** | www.olemiss.edu/depts/aeroacoustics

This message is the property of The University of Mississippi and is intended only for the use of Addressee(s) and may contain information that is PRIVILEGED, CONFIDENTIAL, and/or EXEMPT FROM DISCLOSURE under University policy or applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein is STRICTLY PROHIBITED. If you receive this communication in error, please destroy all copies of the message, whether in electronic or hard copy format, as well as attachments, and immediately contact the sender by replying to this email.


From: Alex Dowling @.> Sent: Tuesday, January 16, 2024 5:09:57 AM To: jckantor/nbpages @.> Cc: Nathan Murray @.>; Author @.> Subject: Re: [jckantor/nbpages] Update notebook.tpl with index.html.j2 template (PR #64)

[EXTERNAL]

@jckantorhttps://github.com/jckantor actually got me to migrate to JupyterBook about 2 years ago. Same ideas as nbpages but a larger community with many more features.

— Reply to this email directly, view it on GitHubhttps://github.com/jckantor/nbpages/pull/64#issuecomment-1893530765, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHXOCRV654ERBIV57VPVWDYOZNYLAVCNFSM6AAAAABB4I6BFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTGUZTANZWGU. You are receiving this because you authored the thread.Message ID: @.***>

adowling2 commented 8 months ago

https://jupyterbook.org/en/stable/start/your-first-book.html

docNathanM commented 8 months ago

Well … yes, that is the main site for jupyter book … but the beauty of nbpages was that the script built the site nicely from just a tree of notebook files. I don’t see how the jupyter book process is nearly that automated without a lot more work on the learning curve to set up the book. Thanks anyway.

Nathan E. Murray, Ph.D. Interim Director, National Center for Physical Acoustics Senior Scientist, Aeroacoustics Associate Professor of Chemical Engineering Director, Mississippi NASA Space Grant Consortium The University of Mississippi 145 Hill Drive P.O. Box 1848 University, MS 38677-1848 U.S.A. +1-662-915-3190 @.*** | www.olemiss.edu/depts/aeroacoustics

This message is the property of The University of Mississippi and is intended only for the use of Addressee(s) and may contain information that is PRIVILEGED, CONFIDENTIAL, and/or EXEMPT FROM DISCLOSURE under University policy or applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein is STRICTLY PROHIBITED. If you receive this communication in error, please destroy all copies of the message, whether in electronic or hard copy format, as well as attachments, and immediately contact the sender by replying to this email.

From: Alex Dowling @.> Date: Tuesday, January 16, 2024 at 8:07 AM To: jckantor/nbpages @.> Cc: Nathan Murray @.>, Author @.> Subject: Re: [jckantor/nbpages] Update notebook.tpl with index.html.j2 template (PR #64) [EXTERNAL]

https://jupyterbook.org/en/stable/start/your-first-book.html

— Reply to this email directly, view it on GitHubhttps://github.com/jckantor/nbpages/pull/64#issuecomment-1893811364, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHXOCRUXYHZSQY7YJOUAKTYO2CRFAVCNFSM6AAAAABB4I6BFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTHAYTCMZWGQ. You are receiving this because you authored the thread.Message ID: @.***>

adowling2 commented 8 months ago

I thought that at first but it only took me 1 or 2 hours to migrate to JupyterBook. Really glad I made the jump. The link I sent includes good getting starting examples.

adowling2 commented 8 months ago

Here are three of my courses in JupyterBook: https://github.com/ndcbe/optimization https://github.com/ndcbe/controls https://github.com/ndcbe/data-and-computing

docNathanM commented 8 months ago

Wow … this is really fantastic! I may reach out to you in the future … I think a few of us here at U. of Miss. would really appreciate getting to see first-hand how you teach, particularly the Data and Computing course, through this content. This was really helpful!

Thanks!

Nathan E. Murray, Ph.D. Interim Director, National Center for Physical Acoustics Senior Scientist, Aeroacoustics Associate Professor of Chemical Engineering Director, Mississippi NASA Space Grant Consortium The University of Mississippi 145 Hill Drive P.O. Box 1848 University, MS 38677-1848 U.S.A. +1-662-915-3190 @.*** | www.olemiss.edu/depts/aeroacoustics

This message is the property of The University of Mississippi and is intended only for the use of Addressee(s) and may contain information that is PRIVILEGED, CONFIDENTIAL, and/or EXEMPT FROM DISCLOSURE under University policy or applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein is STRICTLY PROHIBITED. If you receive this communication in error, please destroy all copies of the message, whether in electronic or hard copy format, as well as attachments, and immediately contact the sender by replying to this email.

From: Alex Dowling @.> Date: Tuesday, January 16, 2024 at 12:17 PM To: jckantor/nbpages @.> Cc: Nathan Murray @.>, Author @.> Subject: Re: [jckantor/nbpages] Update notebook.tpl with index.html.j2 template (PR #64) [EXTERNAL]

Here are three of my courses in JupyterBook: https://github.com/ndcbe/optimization https://github.com/ndcbe/controls https://github.com/ndcbe/data-and-computing

— Reply to this email directly, view it on GitHubhttps://github.com/jckantor/nbpages/pull/64#issuecomment-1894269279, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHXOCUKUMYF5AABNKSC3RDYO272BAVCNFSM6AAAAABB4I6BFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGI3DSMRXHE. You are receiving this because you authored the thread.Message ID: @.***>