data-8/textbook

The textbook Computational and Inferential Thinking: The Foundations of Data Science

What it solves

This is the source repository for an open textbook that teaches foundational data science concepts. It gives authors a way to write and edit the book as Jupyter notebooks and markdown files, then automatically publish the finished HTML to a public website without manual deployment steps.

How it works

The book is built using Jupyter Book. Contributors clone the repo, make edits, and push changes to the main branch. A GitHub Action then builds the HTML and pushes it to a separate deployment repository that serves inferentialthinking.com. The README also explains how to build locally with pip install -r requirements.txt and jupyter-book build .. There is special guidance for preserving alt text on matplotlib outputs when editing notebooks.

Who it’s for

Authors and maintainers of this textbook who want to update content, fix errors, or improve accessibility. It’s also useful for anyone interested in seeing how a Jupyter Book pipeline is set up with automated deployment and accessibility checks.

Highlights

  • Source for an open data science textbook, published at inferentialthinking.com.
  • Automated build and deployment via GitHub Actions.
  • Includes accessibility checks as part of the CI pipeline.
  • Provides a local build workflow using Jupyter Book.
  • Documents a manual process for adding alt text to matplotlib plots.

Related

  • Project
  • Project
  • Project
  • Project