Skip to content

Commit 7b78d65

Browse files
committed
material: Fix instructions for generating screenshots
1 parent 35cd90a commit 7b78d65

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

ui-libraries/material/docs/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,11 @@ not be processed and optimized by Starlight.
4242

4343
The docs use a lot of autogenerated content. First create all the screenshots which will be placed at `src/assets/generated/`.
4444

45-
As a one-time install, run
46-
47-
```
48-
cargo install --git https://github.com/slint-ui/slint slint-docsnapper
49-
```
50-
5145
Generate the screenshots:
5246

5347
```bash
54-
slint-docsnapper docs --overwrite
48+
cd ui-libraries/material
49+
cargo run -p slint-docsnapper -- -Lmaterial=$PWD/src/material.slint docs
5550
```
5651

5752
Build the docs:

0 commit comments

Comments
 (0)