python朱庇特
2020–08–07 | On the Jupyter blog, Chris Holdgraf announces a rewrite of the Jupyter Book project.
2020–08–07 | Chris Holdgraf在Jupyter博客上宣布重写Jupyter Book项目 。
“Jupyter Book is an open source project for building beautiful, publication-quality books, websites, and documents from source material that contains computational content. With this post, we’re happy to announce that Jupyter Book has been re-written from the ground up, making it easier to install, faster to use, and able to create more complex publishing content in your books. It is now supported by the Executable Book Project, an open community that builds open source tools for interactive and executable documents in the Jupyter ecosystem and beyond.”
“ Jupyter Book是一个开源项目,用于从包含计算内容的源材料中构建美观,具有出版质量的书籍,网站和文档。 在此,我们很高兴地宣布Jupyter Book已被彻底重写,从而使其更易于安装,使用更快,并能够在您的书中创建更复杂的出版内容。 它现在得到了可执行书项目的支持,该项目是一个开放社区,它为Jupyter生态系统及以后的系统中的交互式和可执行文档构建开源工具。”
新的Jupyter书有什么作用? (What does the new Jupyter Book do?)
The new version of Jupyter Book will feel very similar. However, it has a lot of new features due to the new Jupyter Book stack underneath (more on that later).
新版本的Jupyter Book感觉非常相似。 但是,由于下面有新的Jupyter Book堆栈,它具有许多新功能(稍后会详细介绍)。
The new Jupyter Book has the following main features (with links to the relevant documentation for each):
新的Jupyter图书具有以下主要功能(每个功能都有相关文档的链接):
✅ Write publication-quality content in markdownYou can write in either Jupyter markdown, or an extended flavor of markdown with publishing features. This includes support for rich syntax such as citations and cross-references, math and equations, and figures.
in 在markdown中编写具有出版物质量的内容您可以使用Jupyter markdown或具有发布功能的markdown扩展风味来编写。 这包括对丰富语法的支持,例如引文和交叉引用 , 数学和方程式以及图形 。
✅ Write content in Jupyter NotebooksThis allows you to include your code and outputs in your book. You can also write notebooks entirely in markdown to execute when you build your book.
in 在Jupyter笔记本中编写内容这使您可以将代码和输出包括在书中。 您还可以完全用markdown编写笔记本,以在生成书时执行。
✅ Execute and cache your book’s contentFor .ipynb
and markdown notebooks, execute code and insert the latest outputs into your book. In addition, cache and re-use outputs to be used later.
✅ 执行和缓存书的内容对于.ipynb
和markdown笔记本,执行代码并将最新输出插入到书中。 此外, 缓存和重用输出将在以后使用。
✅ Insert notebook outputs into your contentGenerate outputs as you build your documentation, and insert them in-line with your content across pages.
✅将 笔记本输出插入内容中在生成文档时生成输出,并将它们与内容跨页插入。
✅ Add interactivity to your bookYou can toggle cell visibility, include interactive outputs from Jupyter, and connect with online services like Binder.
✅ 在您的书中添加交互性您可以切换单元格的可见性 ,包括Jupyter的交互输出 ,并与 Binder等在线服务连接 。
✅ Generate a variety of outputsThis includes single- and multi-page websites, as well as PDF outputs.
✅ Build books with a simple command-line interfaceYou can quickly generate your books with one command, like so: jupyter-book build mybook/
✅ 构建书用一个简单的命令行界面,您可以快速使用一个命令生成你的书,像这样: jupyter-book build mybook/
These are just a few of the major changes that we’ve made. For a more complete idea of what you can do,