Update pelican and use pdm for pelican dependencies
Context: Why am I updating the blog?
I started a new thing on Mastodon called #ThisMonthInFluiddyn. It might be nice to keep a copy on the blog for the sake of those not on Mastodon.
Issues with Pelican and plugins: FIXED!
I have disable the old ipynb
and ipynb2pelican
plugins. I don't recall why we had 2, but now I try to use pelican-jupyter
although it is unmaintained. We do have some issues in rendering notebooks. Maybe we should save it with jupytext to keep things simple.
❯ make html
pdm run pelican /home/avmo/Sources/fluiddyn/fluiddyn-website/content -o /home/avmo/Sources/fluiddyn/fluiddyn-website/output -s /home/avmo/Sources/fluiddyn/fluiddyn-website/pelicanconf.py
[15:06:43] WARNING Feeds generated without SITEURL set properly may not be valid log.py:89
ERROR Could not process 2018/lightweight_classes.ipynb log.py:94
Error processing f{filepath}: Could not find metadata in: .nbdata file or in the first cell of the notebook.If this
notebook is used with liquid tags then you can safely ignore this error.
ERROR Could not process 2018/intensely_edgy_cat.ipynb log.py:94
Error processing f{filepath}: Could not find metadata in: .nbdata file or in the first cell of the notebook.If this
notebook is used with liquid tags then you can safely ignore this error.
ERROR Could not process 2019/transonic-vision.ipynb log.py:94
Error processing f{filepath}: Could not find metadata in: .nbdata file or in the first cell of the notebook.If this
notebook is used with liquid tags then you can safely ignore this error.
ERROR Could not process ./template.ipynb log.py:94
Error processing f{filepath}: Could not find metadata in: .nbdata file or in the first cell of the notebook.If this
notebook is used with liquid tags then you can safely ignore this error.
ERROR Could not process 2018/pep8_line_lengths.ipynb log.py:94
Error processing f{filepath}: Could not find metadata in: .nbdata file or in the first cell of the notebook.If this
notebook is used with liquid tags then you can safely ignore this error.
Done: Processed 7 articles, 0 drafts, 0 hidden articles, 1 page, 1 hidden page and 0 draft pages in 0.66 seconds.
Edited by Ashwin V. Mohanan