summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-07-20 16:36:48 +0000
committerianb <devnull@localhost>2006-07-20 16:36:48 +0000
commit6dd80f403e7a96963d710a31ba0f40e00e51e844 (patch)
tree07c27aae7c4ce9d04a0860adec03980f6f5bd84a /docs
parente2a44c258f668fe716fdb664954c7cabbfeeb353 (diff)
downloadpaste-6dd80f403e7a96963d710a31ba0f40e00e51e844.tar.gz
Removed defunct doc build script
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/rebuild47
1 files changed, 0 insertions, 47 deletions
diff --git a/docs/rebuild b/docs/rebuild
deleted file mode 100755
index 114ea9b..0000000
--- a/docs/rebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-here=`pwd`
-parent=`dirname $here`
-echo "Adding $parent to \$PYTHONPATH"
-export PYTHONPATH=$parent:$PYTHONPATH
-DEPLOY_BASE="/home/paste/Paste-Deploy"
-
-NORMAL="DeveloperGuidelines Paste StyleGuide index web/index \
- what-is-paste testing-applications url-parsing-with-wsgi \
- roadmap web/community/mailing-list
- web/community/repository web/community/index
- web/download/index web/package_index"
-DOCTEST_BUILD="blog-tutorial TodoTutorial"
-
-for NAME in $NORMAL ; do
- if [ -e "$NAME.html" -a ! "$NAME.html" -ot "$NAME.txt" ] ; then
- echo "$NAME is up to date."
- continue
- fi
- echo "Building $NAME."
- rst2html.py --cloak-email-addresses --no-toc-backlinks "$NAME.txt" > "$NAME.html"
-done
-
-for NAME in $DOCTEST_BUILD ; do
- if [ -e "$NAME.html" -a ! "$NAME.html" -ot "$NAME.txt" ] ; then
- echo "$NAME is up to date."
- continue
- fi
- echo "Building $NAME."
- python2.4 ../paste/tests/doctest_webapp.py "$NAME.txt"
-done
-
-chmod +x web/index.html
-
-cp include/reference_header.txt reference.txt
-echo ":extracted: `date`" >> reference.txt
-echo >> reference.txt
-python2.4 ../paste/docsupport/extract.py paste >> reference.txt
-rst2html.py reference.txt > reference.html
-
-pushd $DEPLOY_BASE/docs/
-./rebuild
-popd
-
-python2.4 ../paste/docsupport/gensite.py
-chmod +x ~paste/htdocs/index.html