Update docs/index.rst

Fixed missing comma in code example