Ralf Zerres 947cc808c2 initial chapter 2: crates
* move old chapter 2 (examples) to be named chapter 9
* create sub-chapters for all existing crates (v0.3.1-alpha4)

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-10-08 19:23:19 +02:00
2020-10-08 19:23:19 +02:00

The Orbital Widget Toolkit

Build Status

This repository contains the source of "The Orbital Widget Toolkit" book. We will further reference it as OrbTK.

Requirements

Building the book requires mdBook, ideally the same version that rust-lang/rust uses in this file. To get it:

$ cargo install mdbook --vers [version-num]

Building

To build the book, change into this directory and type:

$ mdbook build

The 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)

Executing mdbook serve will have mdbook act has a web service which can be accessed opening the following URL: http://localhost:3000.

To run the tests:

$ mdbook test

Contributing

We'd love your help! Please see CONTRIBUTING.md to learn about the kinds of contributions we're looking for.

Translations

We'd love help translating the book! See the Translations label to join in efforts that are currently in progress. Open a new issue to start working on a new language! We're waiting on mdbook support for multiple languages before we merge any in, but feel free to start!

Spellchecking

To scan source files for spelling errors, you can use the spellcheck.sh script. It needs a dictionary of valid words, which is provided in dictionary.txt. If the script produces a false positive (say, you used word BTreeMap which the script considers invalid), you need to add this word to dictionary.txt (keep the sorted order for consistency).

Description
The Orbital Widget Toolkit
Readme 96 KiB
Languages
Rust 66.7%
Shell 16.6%
XSLT 16.5%
CSS 0.2%