@@ -437,6 +437,8 @@ pub fn closure_local(item: TokenStream) -> TokenStream {
437
437
/// ValWithCustomNameAndNick,
438
438
/// }
439
439
/// ```
440
+ ///
441
+ /// [`glib::Value`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/value/struct.Value.html
440
442
#[ proc_macro_derive( Enum , attributes( enum_type, enum_value) ) ]
441
443
#[ proc_macro_error]
442
444
pub fn enum_derive ( input : TokenStream ) -> TokenStream {
@@ -474,7 +476,7 @@ pub fn enum_derive(input: TokenStream) -> TokenStream {
474
476
/// }
475
477
/// ```
476
478
///
477
- /// [`glib::Value`]: value/struct.Value.html
479
+ /// [`glib::Value`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ value/struct.Value.html
478
480
#[ proc_macro_attribute]
479
481
#[ proc_macro_error]
480
482
pub fn flags ( attr : TokenStream , item : TokenStream ) -> TokenStream {
@@ -501,7 +503,7 @@ pub fn flags(attr: TokenStream, item: TokenStream) -> TokenStream {
501
503
/// }
502
504
/// ```
503
505
///
504
- /// [`ErrorDomain`]: error/trait.ErrorDomain.html
506
+ /// [`ErrorDomain`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ error/trait.ErrorDomain.html
505
507
#[ proc_macro_derive( ErrorDomain , attributes( error_domain) ) ]
506
508
#[ proc_macro_error]
507
509
pub fn error_domain_derive ( input : TokenStream ) -> TokenStream {
@@ -524,8 +526,8 @@ pub fn error_domain_derive(input: TokenStream) -> TokenStream {
524
526
/// struct MyBoxed(String);
525
527
/// ```
526
528
///
527
- /// [`BoxedType`]: subclass/boxed/trait.BoxedType.html
528
- /// [`glib::Value`]: value/struct.Value.html
529
+ /// [`BoxedType`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ subclass/boxed/trait.BoxedType.html
530
+ /// [`glib::Value`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ value/struct.Value.html
529
531
#[ proc_macro_derive( Boxed , attributes( boxed_nullable, boxed_type) ) ]
530
532
#[ proc_macro_error]
531
533
pub fn boxed_derive ( input : TokenStream ) -> TokenStream {
@@ -552,8 +554,8 @@ pub fn boxed_derive(input: TokenStream) -> TokenStream {
552
554
/// struct MyShared(std::sync::Arc<MySharedInner>);
553
555
/// ```
554
556
///
555
- /// [`SharedType`]: subclass/shared/trait.SharedType.html
556
- /// [`glib::Value`]: value/struct.Value.html
557
+ /// [`SharedType`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ subclass/shared/trait.SharedType.html
558
+ /// [`glib::Value`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ value/struct.Value.html
557
559
#[ proc_macro_derive( SharedBoxed , attributes( shared_boxed_nullable, shared_boxed_type) ) ]
558
560
#[ proc_macro_error]
559
561
pub fn shared_boxed_derive ( input : TokenStream ) -> TokenStream {
@@ -590,7 +592,7 @@ pub fn shared_boxed_derive(input: TokenStream) -> TokenStream {
590
592
/// }
591
593
/// ```
592
594
///
593
- /// [`ObjectSubclass`]: subclass/types/trait.ObjectSubclass.html
595
+ /// [`ObjectSubclass`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ subclass/types/trait.ObjectSubclass.html
594
596
#[ proc_macro_attribute]
595
597
#[ proc_macro_error]
596
598
pub fn object_subclass ( _attr : TokenStream , item : TokenStream ) -> TokenStream {
@@ -615,7 +617,7 @@ pub fn object_subclass(_attr: TokenStream, item: TokenStream) -> TokenStream {
615
617
/// type Prerequisites = ();
616
618
/// ```
617
619
///
618
- /// [`ObjectInterface`]: interface/types /trait.ObjectInterface.html
620
+ /// [`ObjectInterface`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/subclass/interface /trait.ObjectInterface.html
619
621
#[ proc_macro_attribute]
620
622
#[ proc_macro_error]
621
623
pub fn object_interface ( _attr : TokenStream , item : TokenStream ) -> TokenStream {
@@ -683,8 +685,8 @@ pub fn object_interface(_attr: TokenStream, item: TokenStream) -> TokenStream {
683
685
/// }
684
686
/// ```
685
687
///
686
- /// [`glib::clone::Downgrade`]: clone/trait.Downgrade.html
687
- /// [`glib::clone::Upgrade`]: clone/trait.Upgrade.html
688
+ /// [`glib::clone::Downgrade`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ clone/trait.Downgrade.html
689
+ /// [`glib::clone::Upgrade`]: https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/ clone/trait.Upgrade.html
688
690
#[ proc_macro_derive( Downgrade ) ]
689
691
pub fn downgrade ( input : TokenStream ) -> TokenStream {
690
692
let input = parse_macro_input ! ( input as DeriveInput ) ;
0 commit comments