diff options
author | Aurélien Gâteau <agateau@kde.org> | 2014-03-18 10:16:06 (GMT) |
---|---|---|
committer | Aurélien Gâteau <agateau@kde.org> | 2014-03-18 10:16:06 (GMT) |
commit | a2c7f91d6320f72951f1e3ef092e077a89562670 (patch) | |
tree | 7f71c1b87565bcebf3837c52b736d04c75da4a07 /src/index.cpp | |
parent | 8eeaae0b06fd320745f22efe176e0f19d6c8e2a6 (diff) | |
download | Doxygen-a2c7f91d6320f72951f1e3ef092e077a89562670.zip Doxygen-a2c7f91d6320f72951f1e3ef092e077a89562670.tar.gz Doxygen-a2c7f91d6320f72951f1e3ef092e077a89562670.tar.bz2 |
List only the project pages in "Related Pages"
This avoids cluttering "Related Pages" with links to pages from external
projects.
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/index.cpp b/src/index.cpp index 2fdd0de..50c3250 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); } |