ci: Make docs warnings fail CI

This commit is contained in:
Kévin Commaille 2023-11-13 16:43:25 +01:00
parent 0a54ec2679
commit e3b8542cf8
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -78,6 +78,7 @@ rustdoc_flags = ' '.join([
'--extern-html-root-url=gtk4=https://gtk-rs.org/gtk4-rs/stable/latest/docs/', '--extern-html-root-url=gtk4=https://gtk-rs.org/gtk4-rs/stable/latest/docs/',
'--extern-html-root-url=libadwaita=https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/stable/latest/docs/', '--extern-html-root-url=libadwaita=https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/stable/latest/docs/',
'--cfg=docsrs', '--cfg=docsrs',
'-Dwarnings',
]) ])
doc_env = ['RUSTDOCFLAGS=' + rustdoc_flags ] doc_env = ['RUSTDOCFLAGS=' + rustdoc_flags ]
doc_deps = [ doc_deps = [