by Norman Hooper
© Norman Hooper, 2023. Some rights reserved. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
You can turn these files into an ePub document, a single-page HTML document, or HTML files with one page per chapter.
The following instructions are for Linux, and assume that you have Git and Python installed.
Clone this repository locally.
Create and activate a Python virtual environment.
$ python3 -m venv venv $ source venv/bin/activate
Install requirements.
$ pip install -r requirements.txt
You are now ready to build your document.
For ePub:
$ sphinx-build -b epub src _build/epub
Your ePub will be saved as
_build/epub/TheFirstPregnantJustice.epub
.For single-page HTML:
$ sphinx-build -b singlehtml src _build/singlehtml
To read, open
_build/singlehtml/index.html
in your browser.For page-per-chapter HTML:
$ sphinx-build -b html src _build/html
To read, open
_build/html/index.html
in your browser.