Skip to main content

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 comments;
16pub mod designs;
17pub mod diagrams;
18pub mod document;
19pub mod external;
20pub mod folder;
21pub mod page;
22pub mod problem;
23pub mod search;
24pub mod watch;
25pub mod widgets;
26
27// The page's own parts, for the core alone: highlighting, icons, reading
28// Markdown, the navigation tree and HTML itself.
29pub(crate) mod highlight;
30pub(crate) mod html;
31pub(crate) mod icons;
32pub(crate) mod markup;
33pub(crate) mod nav;