This repository contains the source of "BlueOS kernel book".
Most parts of the BlueOS project are powered by Rust programming language, including this book. Please read rustup to install native Rust toolchain to continue.
Then we are using mdBook to build this book. mdbook can be installed via command
cargo install mdbookTo build the book, run
mdbook build -d bookTo build a Chinese version of this book, please refer to mdbook-i18n-helpers first to install prerequisites. Then use command
MDBOOK_BOOK__LANGUAGE=zh mdbook build -d book/zhThe output will be in the book subdirectory. To check it out, open it in
your web browser.
Firefox:
$ firefox book/index.html # Linux
$ open -a "Firefox" book/index.html # OS X
$ Start-Process "firefox.exe" .\book\index.html # Windows (PowerShell)
$ start firefox.exe .\book\index.html # Windows (Cmd)Chrome:
$ google-chrome book/index.html # Linux
$ open -a "Google Chrome" book/index.html # OS X
$ Start-Process "chrome.exe" .\book\index.html # Windows (PowerShell)
$ start chrome.exe .\book\index.html # Windows (Cmd)