The `endsWith` check with the backslash causes `mkdocs serve/build` to fail when run on Windows. This commit removes this and just checks to see if the filename is correct.
* updated README.md * Update docs/index.md