[libhandy/wip/exalm/pages] doc: master->main




commit 335106afa40b4d202c6124f5e457a627f23ab8ef
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jan 20 16:41:35 2022 +0500

    doc: master->main
    
    Keep master as an alias so we don't break links.

 doc.sh         | 3 ++-
 doc/index.html | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/doc.sh b/doc.sh
index 95905d64..6e012a6e 100755
--- a/doc.sh
+++ b/doc.sh
@@ -2,7 +2,7 @@
 
 DOC_DIR=public/doc
 REFS="
-master
+main
 libhandy-1-0
 libhandy-1-2
 libhandy-1-4
@@ -27,6 +27,7 @@ for REF in $REFS; do
 done
 
 cp -r $DOC_DIR/$LATEST_STABLE_1 $DOC_DIR/1-latest
+ln -s $DOC_DIR/main $DOC_DIR/master
 
 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'
diff --git a/doc/index.html b/doc/index.html
index 1f6fa813..0297d914 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -63,7 +63,7 @@
       </ul>
 
       <ul class="doclist">
-        <li><a href="master/">Upcoming version</a></li>
+        <li><a href="main/">Upcoming version</a></li>
       </ul>
     </div>
   </div>


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