Computational and Inferential Thinking
This repository holds the Jupyter Book source for Computational and Inferential Thinking: The Foundations of Data Science.
To make a change to the book and update
Get your copy of this repository:
git clone https://github.com/data-8/textbook
Change the file you wish and commit it to the repository.
Push your change back to the
data-8/textbookrepository (ideally via a pull request).
That's it a GitHub Action will build the book and deploy it to inferentialthinking.com
How this repository is deployed to
The textbook at
inferentialthinking.comis actually being served from this repository:
You should not ever directly edit the inferentialthinking.github.io repository
When you make a change to this repository and push it to the
mainbranch, the book's HTML will automatically be pushed to https://github.com/inferentialthinking/inferentialthinking.github.io.
This process is handled by this GitHub Action
Build and preview the text locally
To build locally,
pip install -r requirements.txt and then
jupyter-book build .
Follow the build instructions on the Jupyter Book guide. The guide has information for how to use the Jupyter Book CLI to build this book. You can find the Jupyter Book build instructions here.