Introduction to TeachBooks¶
Conventional Usage¶
Using the teachbooks CLI in the book building process generally invokes Jupyter Book. Many of the features in this package are then invoked in the stages before and after this command. The process generally includes the following steps:
Edit source code and prepare to build a book
Execute
teachbooks [OPTIONS] COMMAND [ARGS]Pre-processing step: carried out by
teachbooksBuild step: book is built using
jupyter book [OPTIONS] COMMAND [ARGS]Post-processing step: carried out by
teachbooks
Features¶
Wrapper for
jupyter-book: pre- and post-processing steps, easy customization of book build.Draft-Release workflow: take out sections not meant (yet) for readers (students) to see.
Local web server management: easily start a Python web server to review changes and test features in your book.
External Content: add material from GitHub or GitLab to your book, by refering to it directly in the table of contents.
Installation¶
teachbooks is available on PyPI
and can be installed using pip:
pip install teachbooks