[gimp-web-devel/hugo] scripts: don't get 2.8 API docs and use 2.10 docs structure.




commit ad23d3457849bdea0cef248b34b6540045c2d025
Author: Jehan <jehan girinstud io>
Date:   Fri Aug 5 00:07:02 2022 +0200

    scripts: don't get 2.8 API docs and use 2.10 docs structure.
    
    GIMP 2.8 is old, deprecated and unsupported.
    Also the libgimp vs libgimpui structure is the 2.10 docs structure.
    libgimp 2.10 API is split in much more subsections.

 scripts/update_api_docs.sh | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/scripts/update_api_docs.sh b/scripts/update_api_docs.sh
index c448d78..a928d6e 100644
--- a/scripts/update_api_docs.sh
+++ b/scripts/update_api_docs.sh
@@ -14,10 +14,22 @@ tar xf gimp-$VERSION.tar.bz2
 
 echo "Installing into static/..."
 mkdir -p static/libgimp/$1
-mkdir -p static/libgimp-ui/$1
+mkdir -p static/libgimpbase/$1
+mkdir -p static/libgimpcolor/$1
+mkdir -p static/libgimpconfig/$1
+mkdir -p static/libgimpmath/$1
+mkdir -p static/libgimpmodule/$1
+mkdir -p static/libgimpthumb/$1
+mkdir -p static/libgimpwidgets/$1
 
 mv gimp-$VERSION/devel-docs/libgimp/html/* static/libgimp/$1
-mv gimp-$VERSION/devel-docs/libgimp-ui/html/* static/libgimp-ui/$1
+mv gimp-$VERSION/devel-docs/libgimpbase/html/* static/libgimpbase/$1
+mv gimp-$VERSION/devel-docs/libgimpcolor/html/* static/libgimpcolor/$1
+mv gimp-$VERSION/devel-docs/libgimpconfig/html/* static/libgimpconfig/$1
+mv gimp-$VERSION/devel-docs/libgimpmath/html/* static/libgimpmath/$1
+mv gimp-$VERSION/devel-docs/libgimpmodule/html/* static/libgimpmodule/$1
+mv gimp-$VERSION/devel-docs/libgimpthumb/html/* static/libgimpthumb/$1
+mv gimp-$VERSION/devel-docs/libgimpwidgets/html/* static/libgimpwidgets/$1
 
 echo "Tidying up..."
 rm -fr gimp-$VERSION gimp-$VERSION.tar.bz2
@@ -25,5 +37,4 @@ rm -fr gimp-$VERSION gimp-$VERSION.tar.bz2
 echo "Done."
 }
 
-get_api_docs 2.8
 get_api_docs 2.10


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