An index file is a file with basename
index.bigb.Those basenames have the following magic properties:
- the default output file name for an index file in HTML output is either:
index.htmlwhen in the project toplevel directory. E.g.index.bigbrenders toindex.html. Note that GitHub and many other static website hosts then automatically hide theindex.htmlpart from the URL, so that yourindex.bigbhosted athttp://example.comwill be accessible simply underhttp://example.comand nothttp://example.com/index.html- the name of the subdirectory in which it is located when not in the project toplevel directory. E.g.
mysubdir/index.bigboutputs tomysubdir.htmlPreviously, we had placed the output inmysubdir/index.html, but this is not as nice as it makes GitHub pages produce URLs with a trailing slash asmysubdir/, which is ugly, see also: stackoverflow.com/questions/5948659/when-should-i-use-a-trailing-slash-in-my-url
- the default toplevel header ID of an index files is derived from the parent directory basename rather than from the source file basename