summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Theegarten <jan@moduleworks.com>2021-01-06 14:55:59 (GMT)
committerJan Theegarten <jan@moduleworks.com>2021-01-06 14:55:59 (GMT)
commit7527114a304dbb9e21236a453ed0f2e1bd51b884 (patch)
treeebbd05ce40b4f7d7f374c5f8f09bc5d0dcc23838
parent3f4717ec5583dde8116205e1045095158ab56c15 (diff)
parent352ab16413d51c655741cff927911f6126471198 (diff)
downloadDoxygen-7527114a304dbb9e21236a453ed0f2e1bd51b884.zip
Doxygen-7527114a304dbb9e21236a453ed0f2e1bd51b884.tar.gz
Doxygen-7527114a304dbb9e21236a453ed0f2e1bd51b884.tar.bz2
Add location to xml representation of pages.
-rw-r--r--src/xmlgen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 5a7eabd..70fcd70 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -1719,6 +1719,7 @@ static void generateXMLForPage(PageDef *pd,FTextStream &ti,bool isExample)
// + name
// + title
// + documentation
+ // + location
const char *kindName = isExample ? "example" : "page";
@@ -1844,6 +1845,8 @@ static void generateXMLForPage(PageDef *pd,FTextStream &ti,bool isExample)
}
t << " </detaileddescription>" << endl;
+ t << " <location file=\"" << convertToXML(stripFromPath(pd->getDefFileName())) << "\"/>" << endl;
+
t << " </compounddef>" << endl;
t << "</doxygen>" << endl;