Skip to content

Commit

Permalink
Add links behind nav entries "Namespaces" and "Files" (matching "Clas…
Browse files Browse the repository at this point in the history
…ses")

When layout file has "namespacelist" resp. "filelist" set to visible=no,
the files "namespaces.html" resp. "files.html" are still generated,
but not reachable. So same fix as done for "classlist" should be used,
cmp. 700a9ac

Also gives consistent result & at least in QCH files fix the error
message shown when clicking on "Namespaces" or "Files" section titles.
  • Loading branch information
kossebau committed Jun 13, 2017
1 parent 84fd1fe commit 464919a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.cpp
Expand Up @@ -4122,7 +4122,7 @@ static void writeIndexHierarchyEntries(OutputList &ol,const QList<LayoutNavEntry
{
if (documentedNamespaces>0 && addToIndex)
{
Doxygen::indexList->addContentsItem(TRUE,lne->title(),0,0,0);
Doxygen::indexList->addContentsItem(TRUE,lne->title(),0,lne->baseFile(),0);
Doxygen::indexList->incContentsDepth();
needsClosing=TRUE;
}
Expand Down Expand Up @@ -4189,7 +4189,7 @@ static void writeIndexHierarchyEntries(OutputList &ol,const QList<LayoutNavEntry
{
if (documentedHtmlFiles>0 && addToIndex)
{
Doxygen::indexList->addContentsItem(TRUE,lne->title(),0,0,0);
Doxygen::indexList->addContentsItem(TRUE,lne->title(),0,lne->baseFile(),0);
Doxygen::indexList->incContentsDepth();
needsClosing=TRUE;
}
Expand Down

2 comments on commit 464919a

@borkowsk
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is probably something wrong with Python example:
https://www.stack.nl/~dimitri/doxygen/manual/examples/docstring/html/index.html
I see it empty (title only).

@albert-github
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What has your message to do with this commit ?

When there is a problem create an issue, with maybe a bit more of a description of what you see and what you would expect.

Please sign in to comment.