Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 913 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 913 Bytes

Jupyter Book

This repository builds a Jupyter Book environment that we can use to compile Duckietown books v2+.

How to build

NOTE: these are instructions on how to use this image directly. While this is possible, we encourage you to use the wrapper dts command, dts docs build instead.

Move to the root of a repository based on template-book of version v2+. For example, https://github.com/duckietown/book-devmanual-docs.

Build HTML

Run the following command to run the jupyter-book environment and have it compile our book into HTML:

docker run -it --rm --user ${UID} -v ./src:/book -v ./html:/out/html duckietown/dt-jupyter-book:daffy

Build PDF

Run the following command to run the jupyter-book environment and have it compile our book into PDF:

docker run -it --rm --user ${UID} -v ./src:/book -v ./pdf:/out/pdf duckietown/dt-jupyter-book:daffy