Fix typo in code example - doc/index.md