Nenhuma descrição

data8 8fd285b088 Updated requirements to lock jupyter-book to the correct version 3 anos atrás
_data 78a7d20c95 import 3 anos atrás
_includes 1547f4a7a0 Updated binder button to work with CMP repo. 3 anos atrás
_layouts 78a7d20c95 import 3 anos atrás
_sass 78a7d20c95 import 3 anos atrás
assets 78a7d20c95 import 3 anos atrás
binder 78a7d20c95 import 3 anos atrás
content 3b07ac8f6b change to notebooks 3 anos atrás
data 78a7d20c95 import 3 anos atrás
images 78a7d20c95 import 3 anos atrás
scripts 78a7d20c95 import 3 anos atrás
.gitignore 07d5ced725 Removed _build from repo and added to .gitignore 3 anos atrás
CNAME 78a7d20c95 import 3 anos atrás
Gemfile 78a7d20c95 import 3 anos atrás
Guardfile 78a7d20c95 import 3 anos atrás
Makefile 78a7d20c95 import 3 anos atrás
README.md 78a7d20c95 import 3 anos atrás
_config.yml 652a079bfd Updated config file 3 anos atrás
_toc.yml 78a7d20c95 import 3 anos atrás
environment.yml 78a7d20c95 import 3 anos atrás
favicon.png ba88235061 change to logo 3 anos atrás
index.md 78a7d20c95 import 3 anos atrás
requirements.txt 8fd285b088 Updated requirements to lock jupyter-book to the correct version 3 anos atrás
staticman.yml 78a7d20c95 import 3 anos atrás

README.md

The Data 8 Jekyll textbook

This repository holds a Jekyll-based version of the Data 8 textbook.

All textbook content is primarily stored in Jupyter notebooks in the content/ folder. This can be converted to Jekyll-ready markdown and served on github pages.

How this repository is deployed to inferentialthinking.com

The Data 8 textbook has a slightly more complex deploy process. This is because GitHub doesn't work well for using a custom domain name for an organization's non-root repository.

So, here's how the textbook deploy works:

  • The textbook at inferentialthinking.com is actually being served from this repository:

https://github.com/inferentialthinking/inferentialthinking.github.io

You should not ever directly edit the inferentialthinking.github.io repository

Building the textbook

Here are steps to get started building the textbook on your own machine:

  1. Install the jupyter-book command line tool. This allows you to create and modify Jupyter Books:

    pip install jupyter-book
    
  2. 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.

A short summary (see the link for full details): If you have Ruby and bundle installed, install the dependencies by running bundle install, then running gem pristine ... for each warning. Once the dependencies are installed, run make book and then make build.

To preview your built site using Jekyll on your computer, follow the steps on the Jupyter Book guide. The short version is to run make serve, then visit http://127.0.0.1:4000/chapters/intro in your browser.

Relevant files

An explanation of the various files in this textbook can be found in the Jupyter Book guide.