fix index documentation file

fixes #108 
@arian fixed the indentation problem. Here ^ do you mean I should add mout or just a example of how more clear it would be? 
We should add a similar method to Core :)