Modify shell script in Documentation target to auto-generate the index