pietroppeter / nimibook

A port of mdbook to nim(ib)
https://pietroppeter.github.io/nimibook/
MIT License
76 stars 7 forks source link

Use different "book" directory #48

Closed casey-SK closed 2 years ago

casey-SK commented 2 years ago

Can you change the value "book" in the newBookFromToc() call? I run into errors when changing it to anything else. If it is designed to be changed, then some sort of error is occurring here.

pietroppeter commented 2 years ago

You probably need also to change it in nimib.toml (which was introduced later) but I agree this is not ideal

pietroppeter commented 2 years ago

now newBookFromToc is deprecated and you should use initBookFromToc. Changing the directories in nimib.toml allows to change src and out directories for nimibook. fixed in #50