Embed doxygen documentation on another site?

I am trying to embed doxygen documentation in another website. At the moment, I have embedded it in an iframe, but it has a side effect: if I open any links in the documentation in a new tab, for example, it will go to a separate linked doxygen page outside the frame.

The main site is also created with sphinx , but breathe is not yet ready to automatically organize such complex documentation without manually entering many .rst files.

In addition, doxylink links, such as this file link found on the man page .

It seems that the shark training library was able to some extent attribute this feat to the list of classes, but it is difficult to determine the exact technique that they used. In addition, their license is the GPL, which is incompatible with my BSD library license.

How can I make sure the documentation is always implemented?

Here's what the correctly embedded page should look like:

basis_embedded_doxygen

But some links lead to this page:

basis_not_embedded_doxygen

+7
html documentation embed python-sphinx doxygen
source share
1 answer

You essentially open the link inside the iframe and want to open this link in the same iframe. It can be done:

<iframe src="http://cnn.com/" name="myFrame"></iframe> <p> <a href="http://cnn.com/" target="myFrame"></a> </p> 

which will load all links in the same iframe.

Here is my JSFiddle: http://jsfiddle.net/yb82en46/

Sources:

How to open an iframe link inside the same iframe? - stackoverflow

You must specify the target name of the iframe.

 <iframe src="demo_iframe.htm" name="iframe_a"></iframe> <p><a href="http://www.w3schools.com" target="iframe_a">www.google.com</a></p> 
0
source share

All Articles