Skip to content

Commit

Permalink
Simplify docsnapper invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Nov 14, 2024
1 parent 70f62f1 commit 957e76e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ jobs:
cp -r target/aarch64-linux-android/doc/i_slint_backend_testing/ target/doc/
- name: "Generate Screenshots for Example Snippets"
working-directory: docs
run: cargo run -p slint-docsnapper -- src/content --overwrite
run: cargo run -p slint-docsnapper -- docs/src/content --overwrite
- name: "Install Node dependencies for Slint and Node docs"
run: pnpm install --frozen-lockfile
- name: "Slint Language Documentation"
Expand Down
3 changes: 1 addition & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ not be processed and optimized by Starlight.
The docs use a lot of autogenerated content. First create all the screenshots which will be placed at `src/assets/generated/`.

```bash
cd docs
cargo run -p slint-docsnapper -- src/content --overwrite
cargo run -p slint-docsnapper -- docs/src/content --overwrite
```

Then generate the slint auto generated content.
Expand Down

0 comments on commit 957e76e

Please sign in to comment.