mdBook
mdBook is a command line tool to create books with Markdown.
Minimal configuration is required to build an existing mdBook project on Read the Docs.
.readthedocs.yaml
version: 2
build:
os: ubuntu-lts-latest
tools:
rust: latest
jobs:
install:
- cargo install mdbook
build:
html:
# For an example book..
# - mdbook init docs
- mdbook build docs --dest-dir $READTHEDOCS_OUTPUT/html
Getting started
If you have an existing mdBook project you want to host on Read the Docs, check out our Adding a documentation project guide.
If you’re new to mdBook, check out the official Getting started with mdBook guide.