we want the index to be built using the '/' directory separator, as this is used as links (in toc.md a.o.)