Build directory
Rheo produces outputs in a simple directory structure with one subdirectory for each kind of output. By default, Rheo produces all outputs (PDF, HTML, and EPUB) in a build directory inside the project directory:
build/
├── epub
│ └── blog_post.epub
├── html
│ ├── portable_epubs.html
│ └── style.css
└── pdf
└── portable_epubs.pdfThe build directory path is calculated relative to the content directory. This is important, as if you change the content directory, then your build directory path will become relative to that directory.
Configuration
CLI flag
You can specify a build directory with either the compile or watch commands:
rheo compile path/to/project --build-dir path/to/buildrheo.toml
The build directory is specified at the top level of the rheo.toml:
build_dir = "custom_build_directory"