data8 8fd285b088 Updated requirements to lock jupyter-book to the correct version | 3 年 前 | |
---|---|---|
_data | 3 年 前 | |
_includes | 3 年 前 | |
_layouts | 3 年 前 | |
_sass | 3 年 前 | |
assets | 3 年 前 | |
binder | 3 年 前 | |
content | 3 年 前 | |
data | 3 年 前 | |
images | 3 年 前 | |
scripts | 3 年 前 | |
.gitignore | 3 年 前 | |
CNAME | 3 年 前 | |
Gemfile | 3 年 前 | |
Guardfile | 3 年 前 | |
Makefile | 3 年 前 | |
README.md | 3 年 前 | |
_config.yml | 3 年 前 | |
_toc.yml | 3 年 前 | |
environment.yml | 3 年 前 | |
favicon.png | 3 年 前 | |
index.md | 3 年 前 | |
requirements.txt | 3 年 前 | |
staticman.yml | 3 年 前 |
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.
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:
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
github.com/data-8/texbook
)data-8/textbook
gh-pages
branch, these changes should automatically be copied to https://github.com/inferentialthinking/inferentialthinking.github.io.Here are steps to get started building the textbook on your own machine:
Install the jupyter-book command line tool. This allows you to create and modify Jupyter Books:
pip install jupyter-book
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.
An explanation of the various files in this textbook can be found in the Jupyter Book guide.