[libhandy/wip/exalm/pages: 1/2] doc: Symlink 1-latest instead of copying




commit 9ccfb3cf4be03b0250f3ca31bbae13af9dc4039d
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jan 20 17:14:36 2022 +0500

    doc: Symlink 1-latest instead of copying

 doc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/doc.sh b/doc.sh
index cd3ac581..4141945f 100755
--- a/doc.sh
+++ b/doc.sh
@@ -40,7 +40,7 @@ for REF in $LEGACY_REFS; do
   rm -rf "$REF"
 done
 
-cp -r $DOC_DIR/$LATEST_STABLE_1 $DOC_DIR/1-latest
+ln -s $LATEST_STABLE_1 $DOC_DIR/1-latest
 ln -s main $DOC_DIR/master
 
 find $DOC_DIR -type f -print0 | xargs -0 sed -i 's|\.\./gdk3/|https://developer.gnome.org/gdk3/stable/|g'


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