code: function getTOC(document) {
    var content = "";
    if (document.generateContentsCallback) {
      var callbackContent = document.generateContentsCallback(document.filesForTOC);
      content = markupFiles.getContents(document, callbackContent);
    } else {
      content = markupFiles.getContents(document);
    }
    return replacements(document, replacements(document, content));
  }
docs: Provide the contents of the TOC file.