Skip to content

Commit

Permalink
Fix warning in suggested cargo doc command line
Browse files Browse the repository at this point in the history
Also enable the log feature.
  • Loading branch information
tronical committed Sep 9, 2022
1 parent 76aea0c commit dcb442b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ html to the documentation with the `--html-in-header` rustdoc flag.
Here is how to build the documentation to include preview of the .slint files.

```sh
RUSTDOCFLAGS="--html-in-header=$PWD/docs/resources/slint-docs-preview.html --html-in-header=$PWD/docs/resources/slint-docs-highlight.html" cargo doc --no-deps --features slint/document-features
RUSTDOCFLAGS="--html-in-header=$PWD/docs/resources/slint-docs-preview.html --html-in-header=$PWD/docs/resources/slint-docs-highlight.html" cargo doc --no-deps --features slint/document-features,slint/log
```

### C++ doc
Expand Down

0 comments on commit dcb442b

Please sign in to comment.