summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-03-23 14:07:02 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-03-23 14:07:02 (GMT)
commit6d8353002b4fc3b2a74fa02d1b866c977bdced47 (patch)
treeb58759e8b49aea3368946480053294ef6222494a /src/index.cpp
parent9ba0c0ff85e954c32437af3014c8b54e2c7879bf (diff)
parenta2c7f91d6320f72951f1e3ef092e077a89562670 (diff)
downloadDoxygen-6d8353002b4fc3b2a74fa02d1b866c977bdced47.zip
Doxygen-6d8353002b4fc3b2a74fa02d1b866c977bdced47.tar.gz
Doxygen-6d8353002b4fc3b2a74fa02d1b866c977bdced47.tar.bz2
Merge pull request #137 from agateau/wip/list-only-own-pages-in-related-pages
List only the project pages in "Related Pages"
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 9bbc4a4..2013a7c 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -3173,9 +3173,10 @@ static void writePageIndex(OutputList &ol)
PageDef *pd=0;
for (pdi.toFirst();(pd=pdi.current());++pdi)
{
- if (pd->getOuterScope()==0 ||
- pd->getOuterScope()->definitionType()!=Definition::TypePage
- ) // not a sub page
+ if ((pd->getOuterScope()==0 ||
+ pd->getOuterScope()->definitionType()!=Definition::TypePage) && // not a sub page
+ !pd->isReference() // not an external page
+ )
{
writePages(pd,ftv);
}