diff options
author | avostrik <avostrik@users.noreply.github.com> | 2020-04-01 17:36:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 17:36:43 (GMT) |
commit | e40d6588c22f465d9cdd17a58f089031ebab581b (patch) | |
tree | 03ba3b2f4b82d6aa5d13b7ce23c13784477c7079 /src/vhdldocgen.cpp | |
parent | b4b47b3919650d7350acc9fe59becaee4a3d5ff5 (diff) | |
download | Doxygen-e40d6588c22f465d9cdd17a58f089031ebab581b.zip Doxygen-e40d6588c22f465d9cdd17a58f089031ebab581b.tar.gz Doxygen-e40d6588c22f465d9cdd17a58f089031ebab581b.tar.bz2 |
Fix html file ext in external docs (#7679)
* Add HTML extension to url conditionally in tree view item.
This change fixes issue with double extension in treeview file list items generated from external tag file.
Items that were read from tag file already have extension.
* Add missing HTML file extension in writeTagFile() calls
* Unify addition of HTML file extension in writeTagFile calls.
Signed-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r-- | src/vhdldocgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp index 3528627..8b2ac41 100644 --- a/src/vhdldocgen.cpp +++ b/src/vhdldocgen.cpp @@ -1877,7 +1877,7 @@ void VhdlDocGen::writeTagFile(MemberDef *mdef,FTextStream &tagFile) tagFile << "\">" << endl; tagFile << " <type>" << convertToXML(mdef->typeString()) << "</type>" << endl; tagFile << " <name>" << convertToXML(mdef->name()) << "</name>" << endl; - tagFile << " <anchorfile>" << convertToXML(mdef->getOutputFileBase()+Doxygen::htmlFileExtension) << "</anchorfile>" << endl; + tagFile << " <anchorfile>" << convertToXML(mdef->getOutputFileBase()) << Doxygen::htmlFileExtension << "</anchorfile>" << endl; tagFile << " <anchor>" << convertToXML(mdef->anchor()) << "</anchor>" << endl; if (VhdlDocGen::isVhdlFunction(mdef)) |