summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-11-29 12:52:50 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-11-29 12:52:50 (GMT)
commit63d7b19df11eb55a30e4af8fa492ee464ff353f5 (patch)
tree3905d255069b27d549e49a35d1a89ca7c295da2a /src
parentc012de3edf1a68aac39cca727bff5cd739b7c47f (diff)
downloadDoxygen-63d7b19df11eb55a30e4af8fa492ee464ff353f5.zip
Doxygen-63d7b19df11eb55a30e4af8fa492ee464ff353f5.tar.gz
Doxygen-63d7b19df11eb55a30e4af8fa492ee464ff353f5.tar.bz2
Remove duplicate pages for classes inside inline namespaces (LaTeX/RTF/DocBook)
Diffstat (limited to 'src')
-rw-r--r--src/docbookgen.cpp6
-rw-r--r--src/latexgen.cpp9
-rw-r--r--src/rtfgen.cpp9
3 files changed, 16 insertions, 8 deletions
diff --git a/src/docbookgen.cpp b/src/docbookgen.cpp
index 3615ad5..7656b9e 100644
--- a/src/docbookgen.cpp
+++ b/src/docbookgen.cpp
@@ -564,7 +564,8 @@ DB_GEN_C2("IndexSections " << is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInOuterScope()
+ !cd->isEmbeddedInOuterScope() &&
+ !cd->isAlias()
)
{
t << " <xi:include href=\"" << cd->getOutputFileBase() << ".xml\" xmlns:xi=\"http://www.w3.org/2001/XInclude\"/>" << endl;
@@ -575,7 +576,8 @@ DB_GEN_C2("IndexSections " << is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInOuterScope()
+ !cd->isEmbeddedInOuterScope() &&
+ !cd->isAlias()
)
{
t << " <xi:include href=\"" << cd->getOutputFileBase() << ".xml\" xmlns:xi=\"http://www.w3.org/2001/XInclude\"/>" << endl;
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index e9f8fd7..05141a9 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1053,7 +1053,8 @@ void LatexGenerator::startIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInOuterScope()
+ !cd->isEmbeddedInOuterScope() &&
+ !cd->isAlias()
)
{
if (compactLatex) t << "\\doxysection"; else t << "\\chapter";
@@ -1231,7 +1232,8 @@ void LatexGenerator::endIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInOuterScope()
+ !cd->isEmbeddedInOuterScope() &&
+ !cd->isAlias()
)
{
t << "}\n\\input{" << cd->getOutputFileBase() << "}\n";
@@ -1242,7 +1244,8 @@ void LatexGenerator::endIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInOuterScope()
+ !cd->isEmbeddedInOuterScope() &&
+ !cd->isAlias()
)
{
//if (compactLatex) t << "\\input"; else t << "\\include";
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 2665d38..8fd50ef 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -526,7 +526,8 @@ void RTFGenerator::startIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInOuterScope()
+ !cd->isEmbeddedInOuterScope() &&
+ !cd->isAlias()
)
{
beginRTFChapter();
@@ -823,7 +824,8 @@ void RTFGenerator::endIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInOuterScope()
+ !cd->isEmbeddedInOuterScope() &&
+ !cd->isAlias()
)
{
t << "\\par " << rtf_Style_Reset << endl;
@@ -837,7 +839,8 @@ void RTFGenerator::endIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInOuterScope()
+ !cd->isEmbeddedInOuterScope() &&
+ !cd->isAlias()
)
{
t << "\\par " << rtf_Style_Reset << endl;