This page contains more advanced and complete information about the
jupyter-book repository. See the sections below.
Relevant files
There are a few moving parts associated with Jupyter Books, and this section tries to cover most of the relevant pieces. The following list contains some of the more important files/folders worth knowing about.
Course materials
content/contains all course content in Jupyter notebook or markdown form
Auto-generated folders and files
_build/contain markdown and assets created when you runmake book. This is what Jekyll uses to serve your site._site/contains the HTML for the built site. It is created by Jekyll, and should only exist if you build the site locally
Repository configuration and build files
_config.ymlcontains all site configuration._data/toc.ymlcontains the table of contents for the book (AKA, the sidebar)assets/contains CSS and Javascript for the book and websiterequirements.txtcontains the packages needed to run the notebooks in the Jupyter bookbuild-requirements.txtcontains the packages needed to build the Jupyter book
Helper scripts
scripts/contains scripts to generate the textbook from the Jupyter notebooks. These helper scripts are all run with theMakefileincluded with this repository.scripts/generate_book.pywill generate the markdown for your book. After you make any changes incontents/, you should run this script viamake bookso your site stays up-to-date.scripts/clean.pyis used to clean out any auto-generated filesscripts/execute_all_notebooks.pywill use nbconvert to execute all notebooks incontents/in-place.