From 7719bab84deb5cf881c939444db8676fff7fa6f3 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 5 Aug 2021 13:45:40 +0100 Subject: Update the developer.gnome.org URLs The GNOME developers documentation website has been updated, and we're in the process of moving API references elsewhere. The old documentation is still available under developer-old.gnome.org, so let's update the URLs we have in our documentation. --- docs/gir-1.2.rnc | 12 ++++++------ docs/reference/gi-docs.xml | 2 +- docs/website/goals.rst | 2 +- docs/website/writingbindableapis.rst | 4 ++-- docs/website/writingbindings/libgirepository.rst | 2 +- giscanner/annotationparser.py | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc index 8f53c18e..9906efed 100644 --- a/docs/gir-1.2.rnc +++ b/docs/gir-1.2.rnc @@ -354,20 +354,20 @@ grammar { } Signal = - ## A signal as defined in the GObject system (https://developer.gnome.org/gobject/stable/signal.html) + ## A signal as defined in the GObject system (https://developer-old.gnome.org/gobject/stable/signal.html) element glib:signal { Info.attrs, ## name of the signal attribute name { xsd:string }, - ## Binary attribute, true if the signal has a detailed parameter (https://developer.gnome.org/gobject/stable/signal.html#signal-detail# and https://developer.gnome.org/gobject/unstable/gobject-Signals.html#GSignalFlags) + ## Binary attribute, true if the signal has a detailed parameter (https://developer-old.gnome.org/gobject/stable/signal.html#signal-detail and https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags) attribute detailed { "0" | "1" }?, - ## When to run the signal during the 5 steps of signal emission (https://developer.gnome.org/gobject/stable/signal.html#signal-emission and https://developer.gnome.org/gobject/unstable/gobject-Signals.html#GSignalFlags) + ## When to run the signal during the 5 steps of signal emission (https://developer-old.gnome.org/gobject/stable/signal.html#signal-emission and https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags) attribute when { "first" | "last" | "cleanup" }?, - ## Binary attribute, true if the signal can be freely emitted on alive objects from user code (https://developer.gnome.org/gobject/unstable/gobject-Signals.html#GSignalFlags) + ## Binary attribute, true if the signal can be freely emitted on alive objects from user code (https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags) attribute action { "0" | "1" }?, - ## Binary attribute, true if no emission hooks are supported for this signal (https://developer.gnome.org/gobject/unstable/gobject-Signals.html#GSignalFlags) + ## Binary attribute, true if no emission hooks are supported for this signal (https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags) attribute no-hooks { "0" | "1" }?, - ## Binary attribute, true if signals emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted (https://developer.gnome.org/gobject/unstable/gobject-Signals.html#GSignalFlags) + ## Binary attribute, true if signals emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted (https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags) attribute no-recurse { "0" | "1" }?, # Other elements a property can contain diff --git a/docs/reference/gi-docs.xml b/docs/reference/gi-docs.xml index 741023dc..abaedf21 100644 --- a/docs/reference/gi-docs.xml +++ b/docs/reference/gi-docs.xml @@ -11,7 +11,7 @@ This document is for libgirepository version &version;. The latest version of this documentation can be found on-line at - https://developer.gnome.org/gi/unstable/. + https://developer-old.gnome.org/gi/unstable/. For more information on how to build libgirepository, for how to build bindings with it and for information on GObject Introspection in diff --git a/docs/website/goals.rst b/docs/website/goals.rst index a8ebe92e..7fb73d6b 100644 --- a/docs/website/goals.rst +++ b/docs/website/goals.rst @@ -23,7 +23,7 @@ application logic such as configuration, layout, dialogs, etc. To achieve this goal you need to write your code using GObject convention. For more information about that, see the `GObject tutorial - `__ + `__ Thus, one of the major goals of the GObject introspection project is to be a convenient bridge between these two worlds, and allow you to choose the right diff --git a/docs/website/writingbindableapis.rst b/docs/website/writingbindableapis.rst index 70d3bbc7..b9b08941 100644 --- a/docs/website/writingbindableapis.rst +++ b/docs/website/writingbindableapis.rst @@ -10,12 +10,12 @@ Structures with custom memory management Avoid creating C structures with custom memory management unless they are registered as a `boxed type -`__. +`__. If you don't register them as a boxed type bindings will fall back to simple memory copying, which might not be what you want. Also consider using a full `GObject -`__ +`__ as that allows bindings to better integrate those objects with the binding language, like for example preserve user defined state across language boundaries. diff --git a/docs/website/writingbindings/libgirepository.rst b/docs/website/writingbindings/libgirepository.rst index 86a3558d..408956fd 100644 --- a/docs/website/writingbindings/libgirepository.rst +++ b/docs/website/writingbindings/libgirepository.rst @@ -7,7 +7,7 @@ typelib data and for interacting with the corresponding GObject based libraries. For more information about libgirepository see the `API documentation -`__. +`__. The following example shows how to call the ``g_assertion_message()`` function from libglib-2.0: diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py index 267542f9..c0b30581 100644 --- a/giscanner/annotationparser.py +++ b/giscanner/annotationparser.py @@ -103,7 +103,7 @@ Additionally, the following restrictions are in effect: Refer to the `GTK-Doc manual`_ for more detailed usage information. .. _GTK-Doc manual: - http://developer.gnome.org/gtk-doc-manual/1.18/documenting.html.en + http://developer-old.gnome.org/gtk-doc-manual/1.18/documenting.html.en ''' import os -- cgit v1.2.1