The target directory is the default output directory for Maven projects. If you are trying to edit a file, edit it from within the src directory. As soon as you clean, compile, install, etc the target directory will be overwritten with the latest output.
edit: are you sure you are editing the right file? Maybe you should be editing index.apt? https://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html