summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index 7d7ac01..1442ce1 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -248,14 +248,17 @@ void PageDef::writePageDocumentation(OutputList &ol)
bool PageDef::visibleInIndex() const
{
- return // not part of a group
- !getGroupDef() &&
- // not an externally defined page
- (!isReference() || Config_getBool("ALLEXTERNALS")) &&
- // not a subpage
- (getOuterScope()==0 ||
- getOuterScope()->definitionType()!=Definition::TypePage
- );
+ static bool allExternals = Config_getBool("ALLEXTERNALS");
+ return // not part of a group
+ !getGroupDef() &&
+ // not an externally defined page
+ (!isReference() || allExternals)
+ // &&
+ // not a subpage
+ //(getOuterScope()==0 ||
+ // getOuterScope()->definitionType()!=Definition::TypePage
+ //)
+ ;
}
bool PageDef::documentedPage() const