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

Example repository and demo

Example repository

https://github.com/readthedocs/test-builds/tree/mdbook

Demo

https://test-builds.readthedocs.io/en/mdbook/

Further reading