Update index.rst
Merge pull request #2823 from lbenitesanchez/patch-1

Update index.rst
document float32 literals, fixes #2821
update quaternion example code
document relative module paths