summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-22 18:05:12 (GMT)
committerGitHub <noreply@github.com>2019-01-22 18:05:12 (GMT)
commit5b1b37bc6b84da6d9641356c6a53741355150c08 (patch)
tree12343d664887355470fa847e180f96131ef51a05
parentfa28a4a9e53ba87035666680295273f36b237e19 (diff)
parent267d940f89e186146c364ecd80c6df0616e72e41 (diff)
downloadDoxygen-5b1b37bc6b84da6d9641356c6a53741355150c08.zip
Doxygen-5b1b37bc6b84da6d9641356c6a53741355150c08.tar.gz
Doxygen-5b1b37bc6b84da6d9641356c6a53741355150c08.tar.bz2
Merge pull request #6792 from albert-github/feature/issue_6791
issue #6791 TOC not generated when using a particular Markdown headerstyle
-rw-r--r--src/config.xml2
-rwxr-xr-x[-rw-r--r--]testing/055/md_055_markdown.xml62
2 files changed, 32 insertions, 32 deletions
diff --git a/src/config.xml b/src/config.xml
index a62040b..8820fe7 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -667,7 +667,7 @@ Go to the <a href="commands.html">next</a> section or return to the
]]>
</docs>
</option>
- <option type='int' id='TOC_INCLUDE_HEADINGS' minval='0' maxval='99' defval='0' depends='MARKDOWN_SUPPORT'>
+ <option type='int' id='TOC_INCLUDE_HEADINGS' minval='0' maxval='99' defval='5' depends='MARKDOWN_SUPPORT'>
<docs>
<![CDATA[
When the \c TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings
diff --git a/testing/055/md_055_markdown.xml b/testing/055/md_055_markdown.xml
index 4bdd2e2..307eb26 100644..100755
--- a/testing/055/md_055_markdown.xml
+++ b/testing/055/md_055_markdown.xml
@@ -1,31 +1,31 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
- <compounddef id="md_055_markdown" kind="page">
- <compoundname>md_055_markdown</compoundname>
- <title>055_markdown</title>
- <briefdescription>
- </briefdescription>
- <detaileddescription>
- <para>
- <heading level="1">Foo</heading>
- </para>
- <para>
- <heading level="2">Bar</heading>
- </para>
- <para>
- <ulink url="http://example.com/inline">Inline link</ulink>
- </para>
- <para>
- <ulink url="http://example.com/reference">Reference link</ulink>
- </para>
- <para>
- <heading level="2">Baz</heading>
- </para>
- <para>More text</para>
- <para>
- <ulink url="http://example.com/last-line">Upper-cased reference link on last line</ulink>
- </para>
- <para>Dash - NDash <ndash/> MDash <mdash/> EDash - ENDash -- EMDash --- E3Dash --- </para>
- </detaileddescription>
- </compounddef>
-</doxygen>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
+ <compounddef id="md_055_markdown" kind="page">
+ <compoundname>md_055_markdown</compoundname>
+ <title>055_markdown</title>
+ <briefdescription>
+ </briefdescription>
+ <detaileddescription>
+ <sect1 id="md_055_markdown_1autotoc_md0">
+ <title>Foo</title>
+ <sect2 id="md_055_markdown_1autotoc_md1">
+ <title>Bar</title>
+ <para>
+ <ulink url="http://example.com/inline">Inline link</ulink>
+ </para>
+ <para>
+ <ulink url="http://example.com/reference">Reference link</ulink>
+ </para>
+ </sect2>
+ <sect2 id="md_055_markdown_1autotoc_md2">
+ <title>Baz</title>
+ <para>More text</para>
+ <para>
+ <ulink url="http://example.com/last-line">Upper-cased reference link on last line</ulink>
+ </para>
+ <para>Dash - NDash <ndash/> MDash <mdash/> EDash - ENDash -- EMDash --- E3Dash --- </para>
+ </sect2>
+ </sect1>
+ </detaileddescription>
+ </compounddef>
+</doxygen>