Show javadoc page inside confluence page

Hi, we have problem with documentation. We use Confluence, JIRA and Jenkins at the moment and use confluence for documenting the project (classes etc). Now we would like to show javadoc pages from Jenkins inside Confluence page as a part of documentation for class or service in question. Is this possible without writing own macro/plugin? Or if this is not possible can we somehow show it in JIRA story and link to it. What do you guys and girls use in this kind of situations?

3 answers

Hi, thank you for answers. Problem with using iframe or similar is that javadoc is in structure including folders. So uploading it unzipped is not really what we are looking for. Is there a way to upload it as a zip file and then use html pages from inside it? We are trying to make it as easy as possible to keep documents in order so uploading zip file and using the class specs from the newest one automatically would be nice.

I'm interested in this as well. We currently attach multiple Javadoc zip files to a Confluence pages for our partner developers on our customer facing Confluence instance. It's not very elegant and we don't want to grant our partners access to our internal systems.

Teresa - I think you will be pleased with Email to try it as it is based on the zipped set, maintaining all structure.

Hi Jukka,

You could probably just put it in an iframe.  You can use the Content Formatting Macros for free, and it includes an iframe macro.

Doxygen is free (well, donations are nice). 

This plugin (Doxygen in Atlassian Confluence) only costs a donation to Room to Read also. There's also a JIRA version.


Justin - does the macro pick up .zip files? I tried this with our javadoc export and received: "you must upload a Doxygen archive file." What's it looking for?

We have mostly been using .tar or tar.gz files - but it should support .zips too. I saw your comment in the support queue and the developer is looking into it. He could not replicate the issue with his local zips from Doxygen, but I think he was adding something to the code to more explicitly accept .zips or something. I say a skype message that he was making the update and a new release - so check back.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

473 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you