Publishing Online Books using Jupyter Book and GitHub Pages

Publishing Online Books using Jupyter Book and GitHub Pages

Creating contents of the book

Contents of Chapter 1

# Chapter 1
This is chapter 1.
## Section 1
This is Section 1 of Chapter 1.
## Section 2
This is Section 2 of Chapter 1.
## Section 3
This is Section 3 of Chapter 1.
## Section 4
This is Section 4 of Chapter 1.

Contents of Chapter 2

# Chapter 2
This is chapter 2. This is a demo chapter.
## Section 1
This is Section 1 of Chapter 2.
## Section 2
This is Section 2 of Chapter 2.

Contents of Chapter 3

Creating configuration file

# Book settings
title: Jupyter Book Demo
author: Dr. Soumen Atta, Ph.D.
copyright: '2021'
# Launch button settings
repository:
url: https://github.com/SoumenAtta/Jupyter-Book-Demo

Creating topic of contents file

- file: Chapter 1
- file: Chapter 2
- file: Chapter 3

Create a book using Jupyter Book

pip install jupyter-book
jupyter-book build ./Book

Hosting of your book at GitHub

git init 
git status
git add .
git commit -m “first commit”
git remote add origin https://github.com/SoumenAtta/Jupyter-Book-Demo.git
git push
ghp-import -n -p -f _build/html

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dr. Soumen Atta, Ph.D.

Dr. Soumen Atta, Ph.D.

Postdoctoral Researcher at Laboratoire des Sciences du Numérique de Nantes (LS2N), Université de Nantes, IMT Atlantique, Nantes, France.