1

How does one link to an auto-generated Doxygen page such as Topics or Namespaces? Typically, I would link to a page by defining its anchor and then using \ref as described here, but this is not possible with the pages that Doxygen generates itself. I can change the title of these pages via DoxygenLayout.xml but I cannot insert \anchor because I think Doxygen interprets those XML fields literally, ie: it doesn't look for commands.

I know that the Topics page is always an HTML file called topics.html, so perhaps I could do a relative reference to that?

Am I missing something daft?

4
  • Which version of doxygen are you using? Interesting idea, maybe you should ceate an enhancement request in the doxygen issue tracker for an attribute anchor in the tags in the navindex of the layout file. Where the value of the the attribute is the anchor to be used (when using it with \ref the value of the title field could be used as text in the link). Commented Feb 1 at 9:56
  • Using 1.13.2 running on Ubuntu. Will gladly create an enhancement request on Monday. Is it possible that the pages already contain an auto-generated anchor and I just need to guess it's name? Commented Feb 2 at 21:42
  • The files don't contain an anchor in respect to this issue. Commented Feb 3 at 9:09
  • Note it will be also quite difficult to implement this through the \ref command as its "contents" is evaluated before about the "fixed pages" is decided (which contains at least 2 important tests: will the "fixed page" be populated and is the "fixed" page not disabled due to a layout setting or a configuration setting. Commented Feb 3 at 17:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.