add index to format to support python2.6 (#5104)
Merge pull request #5105 from akrherz/1.x

add index to format to support py2.6, closes #5101
require specifying the version for gh-pages

From now on, we are only maintaining one build of the IPython docs per major release.
prep what's new for 1.2.1
Backport PR #5166: remove mktemp usage

mktemp is insecure, by the time the generated filename is used someone
else might have modified it.
Backport PR #5163: Simplify implementation of TemporaryWorkingDirectory.

Closes gh-5160

This means `TemporaryWorkingDirectory` can only be used as a context manager, but that's the only way we were using it anyway.
whatsnew 1.2.1
Backport PR #4372: Don't assume that SyntaxTB is always called with a SyntaxError

closes #5184
1.2.1 what's new
release 1.2.1
Fix kernel restart in case connection file is deleted.

On Mac, the /tmp files are deleted after 3 days if inactivity,
causing qtconsole kernel restart to fail subsequently.
This commit adds check to ensure that connection_file is
written if it does not exist.
Merge branch '1.x' of github.com:ipython/ipython into 1.x-backports