chrisjsewell
Re:Semantic Versioning Will Not Save You
on Monday March 08, 2021 @08:30PM (#26394222)
‘Many forms of <versioning> have been tried, and will be tried in this world of sin and woe. No one pretends that <semantic versioning> is perfect or all-wise. Indeed it has been said that <semantic versioning> is the worst form of <versioning> except for all those other forms that have been tried from time to time.…’
Winston S Churchill, 11 November 1947
Re:The new Jupyter Book
on Thursday August 13, 2020 @01:00AM (#24140087)
Now use that to replicate the example pages here: https://myst-nb.readthedocs.io/en/latest/examples/basic.html... and here https://jupyterbook.org/interactive/launchbuttons.html, and let me know how you get on ;-)
Re:The new Jupyter Book
on Wednesday August 12, 2020 @11:24PM (#24139664)
Yes that's about right :)
The book can contain a mixture if Notebooks and normal markdown files, and also text representations of notebook files (see https://jupyterbook.org/content-types/myst-notebooks.html)
The initial focus has been HTML, but now there is work ongoing to create a nice LaTeX/PDF "theme"
Re:The new Jupyter Book
on Wednesday August 12, 2020 @11:14PM (#24139613)
pandocs AST is actually a little limited, in terms of extensability, because it has to resove to JSON. The scorreia.com/software/panflute/code.html is a good python API for it.
By contrast sphinx uses docutils AST: https://github.com/live-clones/docutils/blob/master/docutils..., the documentation is not great (working on that) but it is pretty powerful.
Re:The new Jupyter Book
on Wednesday August 12, 2020 @07:45PM (#24138445)
nbconvert/pandoc is very limited in how it can be extended because it only relies on jinja templating rather than a proper AST.
You couldn't achieve a lot of the things that sphinx/jupyter book can now do with that.
Trust me I know because, before starting work on https://github.com/executablebooks/MyST-Parser I used the nbconvert/pandoc approach to create https://github.com/chrisjsewell/ipypublish ;-)