Commit 6d835300 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge pull request #137 from agateau/wip/list-only-own-pages-in-related-pages

List only the project pages in "Related Pages"
parents 9ba0c0ff a2c7f91d
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment