Skip to content

Commit

Permalink
Merge pull request #10856 from albert-github/feature/bug_crawl_tags
Browse files Browse the repository at this point in the history
Don't import links from tags into crawl file
  • Loading branch information
doxygen committed May 10, 2024
2 parents e65420e + 6d616d2 commit 5f34f6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sitemap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,14 @@ void Crawlmap::addIndexFile(const QCString & fileName)
p->crawl << "<a href=\"" << fn << "\"/>\n";
}

void Crawlmap::addContentsItem(bool, const QCString &, const QCString &,
void Crawlmap::addContentsItem(bool, const QCString &, const QCString & ref,
const QCString & file, const QCString & anchor,
bool ,bool ,
const Definition *)
{
if (!file.isEmpty()) // made file optional param - KPW
if (!file.isEmpty() && ref.isEmpty()) // made file optional param and
// don't place links in crawl file imported
// by tags
{
std::string link;
if (file[0]=='!' || file[0]=='^') // special markers for user defined URLs
Expand Down

0 comments on commit 5f34f6e

Please sign in to comment.