mdbook support
oranda can generate mdbooks for you. If you've already worked with mdbook, it's as simple as pointing oranda
at your book directory using the mdbook.path
option:
{
"components": {
"mdbook": {
"path": "./docs"
}
}
}
This will cause oranda to automatically recompile your book for you, which will be served at the yoursite/book/
URL.
oranda dev
will also be watching this directory.
mdbook quickstart
If this is the first time you're working with mdbook, these are the minimal steps you'd need before editing the oranda config. After you've installed the mdbook tool, you can generate a new book scaffold:
mdbook init docs # replace docs with your preferred directory
You can either use oranda dev
or mdbook serve docs/
to have a preview for your mdbook.