Mon, 09 Jan 2023 11:22:56 +0100
Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.
<!DOCTYPE html> <html><head> <title>eric7.UI.CodeDocumentationViewerTemplate</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.UI.CodeDocumentationViewerTemplate</h1> <p> Module implementing functions to prepare an HTML documentation view. </p> <h3>Global Attributes</h3> <table> <tr><td>_stylesheetsCache</td></tr> </table> <h3>Classes</h3> <table> <tr><td>None</td></tr> </table> <h3>Functions</h3> <table> <tr> <td><a href="#_stylesheet">_stylesheet</a></td> <td>Function to get the stylesheet matching the desktop environment.</td> </tr> <tr> <td><a href="#prepareDocumentationViewerHtmlDocWarningDocument">prepareDocumentationViewerHtmlDocWarningDocument</a></td> <td>Public function to prepare a HTML warning document.</td> </tr> <tr> <td><a href="#prepareDocumentationViewerHtmlDocument">prepareDocumentationViewerHtmlDocument</a></td> <td>Public function to prepare the HTML document.</td> </tr> <tr> <td><a href="#prepareDocumentationViewerHtmlWarningDocument">prepareDocumentationViewerHtmlWarningDocument</a></td> <td>Public function to prepare a HTML warning document.</td> </tr> </table> <hr /> <hr /> <a NAME="_stylesheet" ID="_stylesheet"></a> <h2>_stylesheet</h2> <b>_stylesheet</b>(<i></i>) <p> Function to get the stylesheet matching the desktop environment. </p> <dl> <dt>Return:</dt> <dd> stylesheet </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="prepareDocumentationViewerHtmlDocWarningDocument" ID="prepareDocumentationViewerHtmlDocWarningDocument"></a> <h2>prepareDocumentationViewerHtmlDocWarningDocument</h2> <b>prepareDocumentationViewerHtmlDocWarningDocument</b>(<i>text</i>) <p> Public function to prepare a HTML warning document. </p> <dl> <dt><i>text</i> (str)</dt> <dd> warning text to be shown </dd> </dl> <dl> <dt>Return:</dt> <dd> prepared HTML document </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="prepareDocumentationViewerHtmlDocument" ID="prepareDocumentationViewerHtmlDocument"></a> <h2>prepareDocumentationViewerHtmlDocument</h2> <b>prepareDocumentationViewerHtmlDocument</b>(<i>documentationInfo</i>) <p> Public function to prepare the HTML document. </p> <dl> <dt><i>documentationInfo</i> (dict)</dt> <dd> dictionary containing the various documentation parts </dd> </dl> <dl> <dt>Return:</dt> <dd> prepared HTML document </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="prepareDocumentationViewerHtmlWarningDocument" ID="prepareDocumentationViewerHtmlWarningDocument"></a> <h2>prepareDocumentationViewerHtmlWarningDocument</h2> <b>prepareDocumentationViewerHtmlWarningDocument</b>(<i>text</i>) <p> Public function to prepare a HTML warning document. </p> <dl> <dt><i>text</i> (str)</dt> <dd> warning text to be shown </dd> </dl> <dl> <dt>Return:</dt> <dd> prepared HTML document </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>