devpage_core/lib.rs
1//! devpage's core: what a document is, how its pages render, what is wrong
2//! with them, who comments on them and how its designs resolve — with no I/O
3//! runtime. The crate depends on no tokio, axum, notify, tonic, reqwest or
4//! chromiumoxide, so the compiler refuses a core that reaches for one. What
5//! it needs from outside — the network for external links, somewhere to run
6//! in the background, where changes go, where comments are kept, where
7//! problems are reported — it asks for through a port, and the `devpage`
8//! binary plugs in the adapters.
9
10pub mod addresses;
11pub mod answer;
12pub mod cache;
13pub mod changes;
14pub mod check;
15pub mod code;
16pub mod comments;
17pub mod designs;
18pub mod diagrams;
19pub mod document;
20pub mod extensions;
21pub mod external;
22pub mod folder;
23pub mod page;
24pub mod problem;
25pub mod requirements;
26pub mod search;
27pub mod structure;
28pub mod watch;
29pub mod widgets;
30
31// The page's own parts, for the core alone: highlighting, icons, reading
32// Markdown, the navigation tree and HTML itself.
33pub(crate) mod highlight;
34pub(crate) mod html;
35pub(crate) mod icons;
36pub(crate) mod markup;
37pub(crate) mod nav;