Use this template to quickly start with your own interactive textbook that includes our "standard" selection of features and workflow to host your book on ....github.io/... https://teachbooks.github.io/template/
Find a file
Tom van Woudenberg 21cc83b0e4
Update README.md
2024-02-29 14:02:21 +01:00
.github/workflows build: Deploy from main to pages 2024-02-28 07:15:55 +01:00
book Update file intro.md 2024-02-24 08:02:18 +01:00
figures started stripping down risk-and-reliability to create template 2024-02-23 18:02:52 +02:00
.gitignore started stripping down risk-and-reliability to create template 2024-02-23 18:02:52 +02:00
.gitlab-ci.yml Update file .gitlab-ci.yml 2024-02-24 08:27:26 +01:00
Dockerfile started stripping down risk-and-reliability to create template 2024-02-23 18:02:52 +02:00
LICENSE.md started stripping down risk-and-reliability to create template 2024-02-23 18:02:52 +02:00
README.md Update README.md 2024-02-29 14:02:21 +01:00
requirements.txt build: Deploy from main to pages 2024-02-28 07:15:55 +01:00

Template

Update: Feb 23 transferred files from Risk and Reliability Book to set things up.

This will be the future home of the template book. Design philosophy:

  • people will fork this to create a book in as easy-as-possible a way
  • minimal changes should be made to the book contents itself, to prevent downstream merge conflicts
  • focus is mostly on providing a clean and simply view to the key features in our book repo (e.g., config files, scripts, markup flags, etc)

How to deploy a fork of this book on GitHub Pages

  1. Click Fork, and set a name for your new book.
  2. To enable deploying via GitHub Actions, go to ⚙ Settings, then to Pages, and under Build and Deployment set Source to GitHub Actions.
  3. To trigger a deployment for the first time, you can go to Actions (top panel), then click deploy-book on the left, then Run workflow on the right. The book is also automatically deployed whenever commits are pushed onto the main branch of the repository (in absence of errors).

Voila! You can now access the copy of the template at https://<username>.github.io/<bookname> (e.g. https://teachbooks.github.io/template).

To learn more about how we do this, please see the GitHub Actions documentation and our deployment pipeline configuration file .github/workflows/deploy-book-ghpages.yml.