[libhandy/pages] doc: Cross link to our dependencies



commit 4a3b59662d7c21ba86ccbb0f0d2c85258769485f
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon Nov 23 09:38:13 2020 +0100

    doc: Cross link to our dependencies
    
    This avoids to have invalid links in the doc.

 doc.sh | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/doc.sh b/doc.sh
old mode 100644
new mode 100755
index e6723cb4..7b58d51d
--- a/doc.sh
+++ b/doc.sh
@@ -25,3 +25,11 @@ for REF in $REFS; do
 done
 
 cp -r $DOC_DIR/$LATEST_STABLE_1 $DOC_DIR/1-latest
+
+find $DOC_DIR -type f -print0 | xargs -0 sed -i 's|\.\./gdk3/|https://developer.gnome.org/gdk3/stable/|g'
+find $DOC_DIR -type f -print0 | xargs -0 sed -i 
's|\.\./gdk-pixbuf/|https://developer.gnome.org/gdk-pixbuf/stable/|g'
+find $DOC_DIR -type f -print0 | xargs -0 sed -i 's|\.\./gio/|https://developer.gnome.org/gio/stable/|g'
+find $DOC_DIR -type f -print0 | xargs -0 sed -i 's|\.\./glib/|https://developer.gnome.org/glib/stable/|g'
+find $DOC_DIR -type f -print0 | xargs -0 sed -i 
's|\.\./gobject/|https://developer.gnome.org/gobject/stable/|g'
+find $DOC_DIR -type f -print0 | xargs -0 sed -i 's|\.\./gtk3/|https://developer.gnome.org/gtk3/stable/|g'
+find $DOC_DIR -type f -print0 | xargs -0 sed -i 's|\.\./pango/|https://developer.gnome.org/pango/stable/|g'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]