Remove the preview from the rust docs

rustdoc removes the `no-preview` tag, and we anyway do not have a
slint file to preview in the docs anymore
This commit is contained in:
Olivier Goffart 2023-09-29 10:36:34 +02:00 committed by Olivier Goffart
parent 62330273ed
commit ea19c1e962
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ jobs:
# for which the stable alternative is not yet available.
# Allow suspicious-auto-trait-impls to work around https://github.com/Diggsey/scoped-tls-hkt/issues/2
# RUSTFLAGS: -D warnings -W deprecated
RUSTDOCFLAGS: --html-in-header=/home/runner/work/slint/slint/docs/resources/slint-docs-preview.html --html-in-header=/home/runner/work/slint/slint/docs/resources/slint-docs-highlight.html -D warnings -W deprecated -W suspicious-auto-trait-impls
RUSTDOCFLAGS: --html-in-header=/home/runner/work/slint/slint/docs/resources/slint-docs-highlight.html -D warnings -W deprecated -W suspicious-auto-trait-impls
SLINT_NO_QT: 1
CARGO_INCREMENTAL: false
steps:

View file

@ -174,8 +174,8 @@ serde = { version = "1.0.163", features = ["derive"] }
[package.metadata.docs.rs]
rustdoc-args = [
"--html-in-header",
"docs/resources/slint-docs-preview.html",
# "--html-in-header",
# "docs/resources/slint-docs-preview.html",
"--html-in-header",
"docs/resources/slint-docs-highlight.html",
]