Backstory
We product javadoc for our product and want to serve it to customers via confluence. We presently, import in into confluence as xml which doesn't quite work as well as we'd like. We are moving it outside of confluence but control access via confluence seraph (see extend confluence security).
Our current problem is that the javadoc can't load their stylesheets because their header is replaced with the one from confluence.
How can we get confluence to leave the header alone?
We can use AJS to inject the stylesheet info into the header. This allows the javadoc files to locate their stylesheets and render properly.
<script type="text/javascript"><!-- AJS.toInit(function(){ AJS.$('head').append('<link rel="stylesheet" type="text/css" href="../../stylesheet.css">'); }); //--> </script>
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.