Keep python 2.6 compatibility in sphinx directives.

The positional argument index is required in format strings in python 2.6
Refs #9593