add sample/index & snippets/index