[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [websites/quality-kde-org] tools: update-docs - new for updating user manuals
From: Allen Winter <allen.winter () kdab ! com>
Date: 2014-12-13 21:53:36
Message-ID: E1Xzud6-0007Ny-A2 () scm ! kde ! org
[Download RAW message or body]
Git commit 3df67d37e6a768e5c4aade7ac30a1071591fe40d by Allen Winter.
Committed on 13/12/2014 at 21:53.
Pushed by winterz into branch 'master'.
update-docs - new for updating user manuals
M +4 -0 tools/update-all
A +21 -0 tools/update-docs
http://commits.kde.org/websites/quality-kde-org/3df67d37e6a768e5c4aade7ac30a1071591fe40d
diff --git a/tools/update-all b/tools/update-all
index 5e0aca1..e6774d4 100755
--- a/tools/update-all
+++ b/tools/update-all
@@ -55,6 +55,10 @@ sh $BINTOP/update-mapper >> $LOGFILE 2>&1
Date; echo "$DATE: *** Update CMake modules doc" | tee -a $LOGFILE
sh $BINTOP/update-cmakedoc >> $LOGFILE 2>&1
+# Update user manuals
+Date; echo "$DATE: *** Update User Manuals" | tee -a $LOGFILE
+sh $BINTOP/update-docs >> $LOGFILE 2>&1
+
# Run the quality tools used on ebn.kde.org
Date; echo "$DATE: *** Update details on EBN for API Generation" | tee -a $LOGFILE
sh $BINTOP/parse-api-logs >> $LOGFILE
diff --git a/tools/update-docs b/tools/update-docs
new file mode 100644
index 0000000..d3579e6
--- /dev/null
+++ b/tools/update-docs
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+#Web stylesheet
+SSHEET=/usr/share/apps/ksgmltools2/customization/kde-web.xsl
+
+# Toplevel path to sources
+SRCDIR=/srv/sources
+
+# Path to api.kde.org site
+APISITE=/srv/www/api.kde.org/doc
+
+#first make sure the common stuff is in place
+(cd $APISITE; rm -f common; ln -s /home/api/kdelibs/doc/common common)
+
+#rkwardplugins
+rm -rf $APISITE/rkwardplugins && \
+mkdir -p $APISITE/rkwardplugins && \
+cd $SRCDIR/playground/edu/rkward/doc/rkwardplugins && \
+meinproc4 --stylesheet=$SSHEET index.docbook 2>1 > /dev/null && \
+cp -dpr . $APISITE/rkwardplugins
+rm -f *.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic