Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 757f070

Browse files
Merge pull request #247 from GuillaumeGomez/doc-checks
Doc checks
2 parents 2418edf + d2baaf6 commit 757f070

File tree

30 files changed

+129
-299
lines changed

30 files changed

+129
-299
lines changed

.github/workflows/CI.yml

+99-274
Large diffs are not rendered by default.

atk/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

atk/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gdk-pixbuf/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gdk-pixbuf/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gdk/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gdk/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gdkx11/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ name = "gdkx11"
2121
[features]
2222
purge-lgpl-docs = ["gtk-rs-lgpl-docs", "gdk/purge-lgpl-docs"]
2323
embed-lgpl-docs = ["gtk-rs-lgpl-docs", "gdk/embed-lgpl-docs"]
24-
dox = ["gdk/dox"]
24+
dox = ["gdk/dox", "ffi/dox"]
2525
v3_16 = ["ffi/v3_16", "gdk/v3_16"]
2626
v3_22 = ["v3_16", "ffi/v3_22", "gdk/v3_22"]
2727
v3_24 = ["v3_22", "ffi/v3_24_2"]

gdkx11/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gdkx11/sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ v3_16 = []
5454
v3_22 = ["v3_16"]
5555
v3_24 = ["v3_16"]
5656
v3_24_2 = ["v3_24", "cairo"]
57-
dox = []
57+
dox = ["cairo"]

gdkx11/sys/Gir.toml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ library = "GdkX11"
44
version = "3.0"
55
min_cfg_version = "3.14"
66
single_version_file = "."
7+
dox_feature_dependencies = ["cairo"]
78

89
external_libraries = [
910
"Gdk",

gdkx11/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gio/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gio/src/inet_address.rs

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pub trait InetAddressExtManual {
4848
}
4949

5050
impl<O: IsA<InetAddress>> InetAddressExtManual for O {
51+
// rustdoc-stripper-ignore-next
5152
/// Returns `None` in case the address has a native size different than 4 and 16.
5253
#[doc(alias = "g_inet_address_to_bytes")]
5354
fn to_bytes(&self) -> Option<InetAddressBytes<'_>> {

gio/src/resource.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ impl Resource {
3232
}
3333
}
3434

35+
// rustdoc-stripper-ignore-next
3536
/// Call from build script to run `glib-compile-resources` to generate compiled gresources to embed
3637
/// in binary with [resources_register_include]. `target` is relative to `OUT_DIR`.
3738
///
@@ -41,7 +42,6 @@ impl Resource {
4142
/// "resources/resources.gresource.xml",
4243
/// "compiled.gresource",
4344
/// );
44-
4545
/// ```
4646
pub fn compile_resources<P: AsRef<Path>>(source_dir: P, gresource: &str, target: &str) {
4747
let out_dir = env::var("OUT_DIR").unwrap();
@@ -82,6 +82,7 @@ pub fn resources_register_include_impl(bytes: &'static [u8]) -> Result<(), glib:
8282
Ok(())
8383
}
8484

85+
// rustdoc-stripper-ignore-next
8586
/// Include gresources generated with [compile_resources] and register with glib. `path` is
8687
/// relative to `OUTDIR`.
8788
///

gio/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

glib/gobject-sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

glib/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

glib/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

graphene/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

graphene/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gtk/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

gtk/src/subclass/widget.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1666,6 +1666,7 @@ where
16661666
{
16671667
type Target = T;
16681668

1669+
// rustdoc-stripper-ignore-next
16691670
/// # Safety
16701671
///
16711672
/// Since the template child may not be properly bound,

gtk/src/tree_row_reference.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use glib::translate::*;
88
use libc::c_int;
99

1010
impl TreeRowReference {
11+
// rustdoc-stripper-ignore-next
1112
/// This is unsafe because new_order bounds can't be checked.
1213
#[allow(clippy::missing_safety_doc)]
1314
#[doc(alias = "gtk_tree_row_reference_reordered")]

gtk/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

pango/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

pango/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

pangocairo/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

pangocairo/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 907cd81)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 21213ed)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)

0 commit comments

Comments
 (0)