MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / _HTMLfoot

Function _HTMLfoot

SLiCAP/SLiCAPhtml.py:102–120  ·  view source on GitHub ↗

Returns html page footer with link to 'indexFile'. :param indexFile: name of ther hml index file to which a link must be placed in the footer. :type indexFile: str :return: html: HTML footer with link to 'indexFile' :rtype: str

(indexFile)

Source from the content-addressed store, hash-verified

100 return html
101
102def _HTMLfoot(indexFile):
103 """
104 Returns html page footer with link to 'indexFile'.
105
106 :param indexFile: name of ther hml index file to which a link must be
107 placed in the footer.
108 :type indexFile: str
109
110 :return: html: HTML footer with link to 'indexFile'
111 :rtype: str
112 """
113 idx = ini.html_index.split('.')[0]
114 html = '\n<div id="footnote">\n'
115 html += '<p>Go to <a href="' + ini.html_index + '">' + idx + '</a></p>\n'
116 html += '<p>SLiCAP: Symbolic Linear Circuit Analysis Program, Version %s &copy 2009-2025 SLiCAP development team</p>\n'%(ini.INSTALLVERSION)
117 html += '<p>For documentation, examples, support, updates and courses please visit: <a href="https://analog-electronics.tudelft.nl">analog-electronics.tudelft.nl</a></p>\n'
118 html += '<p>Last project update: %s</p>\n'%(ini.last_updated)
119 html += '</div></body></html>'
120 return html
121
122def _insertHTML(fileName, htmlInsert):
123 """

Callers 2

_startHTMLFunction · 0.85
htmlPageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected