add .txt to example filenames
generate examples/index.hmtl