summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-09-15 17:32:30 (GMT)
committerGitHub <noreply@github.com>2018-09-15 17:32:30 (GMT)
commitb604de30d948b02d6f931d9411ed626a4d2b43d7 (patch)
tree7d609b39c6b8f8289f6542b82782ef80e111767d /src/pagedef.cpp
parent6c1c88f41aa68e6999bfa4b72e37c5a8034588a5 (diff)
parentd198c549fb88769912761d75277680438d88d69b (diff)
downloadDoxygen-b604de30d948b02d6f931d9411ed626a4d2b43d7.zip
Doxygen-b604de30d948b02d6f931d9411ed626a4d2b43d7.tar.gz
Doxygen-b604de30d948b02d6f931d9411ed626a4d2b43d7.tar.bz2
Merge pull request #6487 from albert-github/feature/bug_docbook
Implementation of standard generator for docbook output
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index d2c3f68..79a78d3 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -187,6 +187,7 @@ void PageDef::writeDocumentation(OutputList &ol)
ol.pushGeneratorState();
//2.{
ol.disable(OutputGenerator::Latex);
+ ol.disable(OutputGenerator::Docbook);
ol.disable(OutputGenerator::RTF);
ol.disable(OutputGenerator::Man);
if (!title().isEmpty() && !name().isEmpty() && si!=0)
@@ -207,7 +208,7 @@ void PageDef::writeDocumentation(OutputList &ol)
ol.popGeneratorState();
//2.}
- if ((m_localToc.isHtmlEnabled() || m_localToc.isLatexEnabled()) && hasSections())
+ if ((m_localToc.isHtmlEnabled() || m_localToc.isLatexEnabled() || m_localToc.isDocbookEnabled()) && hasSections())
{
writeToc(ol, m_localToc);
}
@@ -269,6 +270,7 @@ void PageDef::writePageDocumentation(OutputList &ol)
ol.pushGeneratorState();
ol.disableAll();
ol.enable(OutputGenerator::Latex);
+ ol.enable(OutputGenerator::Docbook);
ol.enable(OutputGenerator::RTF);
PageSDict::Iterator pdi(*m_subPageDict);