mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 10:23:32 +00:00
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:
parent
62330273ed
commit
ea19c1e962
2 changed files with 3 additions and 3 deletions
2
.github/workflows/build_docs.yaml
vendored
2
.github/workflows/build_docs.yaml
vendored
|
@ -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:
|
||||
|
|
|
@ -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",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue