Start generalizing to work for Ward too

* Updates the command-line options in various ways, notably changing --start-url to --book
* Renames the "book" directory to "staging"
* Abstracts out most book-specific data into books.js (but not yet cover or substitutions.json)
* Makes per-book subfolders under cache and staging directories
This commit is contained in:
Domenic Denicola 2020-07-01 15:10:12 -04:00
commit fd914b43f5
5 changed files with 87 additions and 49 deletions

4
.gitignore vendored
View file

@ -2,5 +2,5 @@
/npm-debug.log
cache/
book/
Worm.epub
staging/
*.epub