Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 2.35 KB

README.md

File metadata and controls

53 lines (37 loc) · 2.35 KB

The Robius Book

Book Action Book Matrix Chat

This directory contains the Robius book, which provides a detailed overview of our vision for multi-platform app dev in Rust.

The book is also where you can find documentation, tutorials, and examples on how to design, build, publish and run applications using the Robius community of projects.

You can browse the book directly starting at SUMMARY.md, the table of contents and first chapter.

The book is written in Markdown and uses mdBook to build a nicely-formatted HTML version of the book.

Building the book

First, install mdbook, version 0.4.13 or higher:

cargo +stable install mdbook

You can optionally install a plugin that checks links when building the book:

cargo +stable install mdbook-linkcheck

From this directory, you can build (and optionally open) the book by running:

mdbook build --open   # `--open`` will open the book in your browser

Spellcheck

The book source files use cspell for spell checking, which occurs automatically as a GitHub Actions CI pass.

cspell can be run locally through node or as a Visual Studio Code extension.

Valid words that are globally relevant (to multiple files) can be added to the cspell dictionary by adding the word to the words or array in the cspell.json configuration file. Words to be ignored can be added to the ignoreWords array.

Exceptions that are only applicable to a specific file can be added as inline comments, either by

  • Ignoring entire regions of code:
    <!-- cspell:disable -->
    Content that you do not want to spell check.
    <!-- cspell:enable -->
  • Adding this anywhere in the file
    <!-- cspell:ignore Mobius, Möbius, ˈɹoʊˈbiəs -->