Reorganize example in index.rst