<table><tr><td style="">rjvbb updated this revision to Diff 20536.<br />rjvbb added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8211" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>This revision implements my idea of using an optional callback that allows StandardDocumentationView (rather, its actual rendering instance) to call back into the documentation plugin to obtain content for URLs it would otherwise not know how to handle.</p>
<p>I've implemented such a callback for the QtHelp plugin.</p>
<p>I wasn't really expecting it, but this allows the documentation toolview not only to load images, it also to render documentation using the intended CSS. The aforementioned RB ticket had a remark that QTextBrowser wouldn't work with docs generated via doxygen; I'm attaching screenshots (including of the ECM docs created with the Kapidox framework) that prove otherwise.</p></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D8211?vs=20519&id=20536" rel="noreferrer">https://phabricator.kde.org/D8211?vs=20519&id=20536</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8211" rel="noreferrer">https://phabricator.kde.org/D8211</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/documentation/CMakeLists.txt<br />
kdevplatform/documentation/standarddocumentationview.cpp<br />
kdevplatform/documentation/standarddocumentationview.h<br />
plugins/qthelp/CMakeLists.txt<br />
plugins/qthelp/qthelpdocumentation.cpp<br />
plugins/qthelp/qthelpdocumentation.h<br />
plugins/qthelp/tests/CMakeLists.txt</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop<br /><strong>Cc: </strong>flherne, arichardson, apol, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>