Skip to main content

blockworx/tutorial/
mod.rs

1//! Tutorials, as documents. A tutorial is a `.bwx` container whose commit log
2//! *is* the demo — there is no tutorial format and nothing to keep in step
3//! with the editor. [`reader`] is the whole substrate side of that: it opens
4//! such a container and answers what a player needs to know.
5
6//! The UI half sits beside it: [`library`] is what there is to watch, and
7//! [`player`] is the floating panel that watches it. Both are native-only
8//! because the reader is — a tutorial is a container on a filesystem, and
9//! the web build gets one when it gets containers (Phase 8).
10
11#[cfg(not(target_arch = "wasm32"))]
12pub mod library;
13#[cfg(not(target_arch = "wasm32"))]
14pub mod player;
15#[cfg(not(target_arch = "wasm32"))]
16pub mod reader;