Permalink
Browse files

rm everything in gh-pages so old pages aren't left around + typo & pushd

  • Loading branch information...
1 parent 8fc05f3 commit e9db7c8afdabd7de607d6cf5f8028ecd21eff612 @jbalogh jbalogh committed Feb 3, 2010
Showing with 6 additions and 6 deletions.
  1. +4 −4 docs/build-github.zsh
  2. +2 −2 docs/topics/caching.rst
@@ -12,13 +12,13 @@ git checkout gh-pages && git pull && git checkout -
# Checkout the gh-pages branch, if necessary.
if [[ ! -d $GH ]]; then
git clone $REPO $GH
- cd $GH
+ pushd $GH
git checkout -b gh-pages origin/gh-pages
- cd ..
+ popd
fi
-# Update the _gh-pages target dir.
-cd $GH && git pull && cd ..
+# Update and clean out the _gh-pages target dir.
+pushd $GH && git pull && rm -rf * && popd
# Make a clean build.
make clean dirhtml
@@ -28,8 +28,8 @@ For locmem (only recommended for testing)::
CacheMachine will not work properly with the file or database cache backends.
-Cache Manger
-------------
+Cache Manager
+-------------
To enable caching for a model, add the :class:`~caching.base.CachingManager` to
that class and inherit from the :class:`~caching.base.CachingMixin`. If you

0 comments on commit e9db7c8

Please sign in to comment.