[Swift-commit] r3788 - in www: . docs
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Mon Dec 13 15:56:02 CST 2010
Author: wozniak
Date: 2010-12-13 15:56:02 -0600 (Mon, 13 Dec 2010)
New Revision: 3788
Modified:
www/docs/index.php
www/update.sh
Log:
Enable second userguide links
Modified: www/docs/index.php
===================================================================
--- www/docs/index.php 2010-12-13 21:53:52 UTC (rev 3787)
+++ www/docs/index.php 2010-12-13 21:56:02 UTC (rev 3788)
@@ -67,6 +67,12 @@
information on swift. It is assumed that the reader is already familiar with
the material in the Quickstart and Tutorial documents.
</p>
+ <li><strong>current</strong>
+ [<a href="../guides/release-0.91/userguide/">multi-page html</a>]
+ [<a href="../guides/userguide.php">single-page html</a>]
+ [<a href="../guides/userguide.pdf"
+ onClick="javascript: pageTracker._trackPageview('/swift/guides/userguide.pdf');">pdf</a>]
+ </li>
<li><strong>trunk</strong>
[<a href="../guides/trunk/userguide/">multi-page html</a>]
[<a href="../guides/userguide.php">single-page html</a>]
Modified: www/update.sh
===================================================================
--- www/update.sh 2010-12-13 21:53:52 UTC (rev 3787)
+++ www/update.sh 2010-12-13 21:56:02 UTC (rev 3788)
@@ -1,24 +1,36 @@
#!/bin/sh
+update_docs()
+{
+ DIR=$1
+ echo "--------- Updating docs: ${DIR} ----------"
+ pushd ${DIR}
+ svn update
+ chmod -R g+w .svn 2>/dev/null
+ chmod -R g+w formatting/.svn 2>/dev/null
+ chmod a+rx . userguide
+ pushd userguide
+ chmod a+r *.php *.jpeg *.png
+ popd
+ ./buildguides.sh
+ chmod g+w *.php
+ chmod g+w *.pdf
+ chmod -R g+w userguide
+ popd
+ return 0
+}
+
umask 002
echo "--------- Updating www... ----------"
svn update
chmod -R g+w .svn 2>/dev/null
chmod a+r docs/index.php
echo "--------- Updating docs... ----------"
-echo "--------- Updating docs: trunk... ----------"
-pushd guides/trunk
-svn update
-chmod -R g+w .svn 2>/dev/null
-chmod -R g+w formatting/.svn 2>/dev/null
-chmod a+rx . userguide
-pushd userguide
-chmod a+r *.php *.jpeg *.png
-popd
-./buildguides.sh
-chmod g+w *.php
-chmod g+w *.pdf
-chmod -R g+w userguide
-popd
+
+for SET in guides/trunk guides/release-0.91
+do
+ update_docs ${SET}
+done
+
echo "--------- All done ----------"
More information about the Swift-commit
mailing list