mdBook/book-example/src/format/config.md
2015-08-06 15:24:34 +02:00

636 B

Configuration

You can configure the parameters for your book in the book.json file.

Here is an example of what a book.json file might look like:

{
    "title": "Example book",
    "author": "Name",
    "dest": "output/my-book"
}

Supported variables

  • title: title of the book
  • author: author of the book
  • dest: path to the directory where you want your book to be rendered. If a relative path is given it will be relative to the parent directory of the source directory

note: the supported configurable parameters are scarce at the moment, but more will be added in the future