summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp33
1 files changed, 3 insertions, 30 deletions
diff --git a/src/index.cpp b/src/index.cpp
index afc0f1d..6473f9a 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -961,35 +961,6 @@ void writeFileIndex(OutputList &ol)
fullName.prepend(path);
}
- // --------------- LaTeX/RTF only -------------------------
-#if 0
- if (doc)
- {
- ol.pushGeneratorState();
- ol.disable(OutputGenerator::Html);
- ol.writeStartAnnoItem("file",
- fd->getOutputFileBase(),
- path,
- fd->name()
- );
- if (!fd->briefDescription().isEmpty())
- {
- ol.docify(" (");
- parseDoc(ol,fd->absFilePath(),1,
- 0,0,
- abbreviate(fd->briefDescription(),fd->name()));
- ol.docify(")");
- }
- ol.writeEndAnnoItem(fd->getOutputFileBase());
- ol.popGeneratorState();
- }
-#endif
- // --------------------------------------------------------
-
- // ----------------- HTML only ----------------------------
- //ol.pushGeneratorState();
- //ol.disableAllBut(OutputGenerator::Html);
- //ol.writeListItem();
ol.startIndexKey();
ol.docify(path);
if (doc)
@@ -1041,7 +1012,9 @@ void writeFileIndex(OutputList &ol)
fd,0,
abbreviate(fd->briefDescription(),fd->name()),
FALSE, // index words
- FALSE // isExample
+ FALSE, // isExample
+ 0, // example name
+ TRUE // single line
);
//ol.docify(")");
}