Skip to content

Commit d3c1e84

Browse files
committed
Section information lost in case of IMPLICIT_DIR_DOCS=YES and Readme.md
In doxygen#11363 a problem was solved in respect to anchors with `IMPLICIT_DIR_DOCS=YES` and `Readme.md`, but the text as specified with the "anchor line" was lost. Not a `@ianchor` should be added but a `@section`
1 parent f8035f7 commit d3c1e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/markdown.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3683,7 +3683,7 @@ void MarkdownOutlineParser::parseInput(const QCString &fileName,
36833683
{
36843684
if (!generatedId.isEmpty() && !title.isEmpty())
36853685
{
3686-
docs.prepend("@ianchor{" + title + "} " + generatedId + "\\ilinebr ");
3686+
docs.prepend("@section " + generatedId + " " + title + "\\ilinebr ");
36873687
}
36883688
docs.prepend("@dir\\ilinebr ");
36893689
}

0 commit comments

Comments
 (0)