Add doc checks to check.sh
@@ -10,6 +10,10 @@ CARGO_INCREMENTAL=0 cargo clippy --workspace --all-targets --all-features -- -D
cargo test --workspace --all-targets --all-features
cargo test --workspace --doc
+# TODO: doesn't error, but at least prints a warning.
+cargo doc -p emath -p epaint -p egui -p eframe -p epi -p egui_web -p egui_glium --lib --no-deps
+cargo doc -p egui_web --target wasm32-unknown-unknown --lib --no-deps
+
# For finding bloat:
# cargo bloat --release --bin demo_glium -n 200 | rg egui
