Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
rm everything in gh-pages so old pages aren't left around + typo & pushd
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalogh committed Feb 3, 2010
1 parent 8fc05f3 commit e9db7c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/build-github.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/topics/caching.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9db7c8

Please sign in to comment.