From 574655e57a3790c08659adc87d3a9c5a45da4f0d Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 27 Oct 2026 11:19:04 +0100 Subject: web: canonical trunk layout (index.html at crate root) trunk resolves the crate manifest next to the entry HTML; with the entry in www/ it looked for www/Cargo.toml and failed. Move the entry to the crate root (standard trunk layout), keep style.css in www/. --- crates/gipfel-web/README.md | 3 ++- crates/gipfel-web/Trunk.toml | 2 -- crates/gipfel-web/index.html | 11 +++++++++++ crates/gipfel-web/www/index.html | 11 ----------- 4 files changed, 13 insertions(+), 14 deletions(-) delete mode 100644 crates/gipfel-web/Trunk.toml create mode 100644 crates/gipfel-web/index.html delete mode 100644 crates/gipfel-web/www/index.html (limited to 'crates') diff --git a/crates/gipfel-web/README.md b/crates/gipfel-web/README.md index 2442e67..74e93c5 100644 --- a/crates/gipfel-web/README.md +++ b/crates/gipfel-web/README.md @@ -36,7 +36,8 @@ trunk build --release | `src/app.rs` | root component: sidebar, file loading, state | | `src/canvas_view.rs` | viewport canvas: bitmap blit, pan/zoom | | `src/bridge.rs` | JS glue: image decode, blob read, canvas ctx | -| `www/` | index.html, style.css (trunk assets) | +| `index.html` | trunk entry point (canonical trunk layout) | +| `www/style.css` | stylesheet (trunk asset) | ## Notes diff --git a/crates/gipfel-web/Trunk.toml b/crates/gipfel-web/Trunk.toml deleted file mode 100644 index 1772684..0000000 --- a/crates/gipfel-web/Trunk.toml +++ /dev/null @@ -1,2 +0,0 @@ -[build] -target = "www/index.html" diff --git a/crates/gipfel-web/index.html b/crates/gipfel-web/index.html new file mode 100644 index 0000000..32ec87f --- /dev/null +++ b/crates/gipfel-web/index.html @@ -0,0 +1,11 @@ + + + + + + gipfel web + + + + + diff --git a/crates/gipfel-web/www/index.html b/crates/gipfel-web/www/index.html deleted file mode 100644 index c601fee..0000000 --- a/crates/gipfel-web/www/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - gipfel web - - - - - -- cgit v1.2.3