Open lmajano opened 5 years ago
@lmajano Scott and I have talked a lot about a JSON file for configuration, but the problem is where to store it. I already have a list of settings to allow users to specify for PDF exporting,
But since the PDF tool is based on the export, and a Gitbook need not even have a Git repo, there's no good way to have a permanent place to store a JSON file We could just require the user to create it in the root of the unzipped export, but if they are re-downloading the zip on a regular basis, they'd be deleting the old export and would need to manually copy the file each time.
Our last idea was to have a setting inside the JSON that pointed to the export zip and keep the JSON up one directory by convention.
This is a future enhancement. The old gitbook had a
book.json
in the root which was used to specify many of the export capabilities of the book. The settings that can be stored here can be: