mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +03:00
.
This commit is contained in:
@@ -55,14 +55,14 @@ def generateHtmlTooltip(section, parameter, markdownFile):
|
|||||||
# Add the tooltip to the config page
|
# Add the tooltip to the config page
|
||||||
with open(docsMainFolder + "/" + configPage, 'r') as configPageHandle:
|
with open(docsMainFolder + "/" + configPage, 'r') as configPageHandle:
|
||||||
configPageContent = configPageHandle.read()
|
configPageContent = configPageHandle.read()
|
||||||
configPageContent = configPageContent.replace("<td>$TOOLTIP_" + section + "_" + parameter + "</td>", "<td>" + htmlTooltip + "</td>")
|
configPageContent = configPageContent.replace("<td>$TOOLTIP_" + section + "_" + parameter, "<td>" + htmlTooltip")
|
||||||
with open(docsMainFolder + "/" + configPage, 'w') as configPageHandle:
|
with open(docsMainFolder + "/" + configPage, 'w') as configPageHandle:
|
||||||
configPageHandle.write(configPageContent)
|
configPageHandle.write(configPageContent)
|
||||||
|
|
||||||
# Add the tooltip to the reference image page
|
# Add the tooltip to the reference image page
|
||||||
with open(docsMainFolder + "/" + refImagePage, 'r') as refImagePageHandle:
|
with open(docsMainFolder + "/" + refImagePage, 'r') as refImagePageHandle:
|
||||||
refImagePageContent = refImagePageHandle.read()
|
refImagePageContent = refImagePageHandle.read()
|
||||||
refImagePageContent = refImagePageContent.replace("<td>$TOOLTIP_" + section + "_" + parameter + "</td>", "<td>" + htmlTooltip + "</td>")
|
refImagePageContent = refImagePageContent.replace("<td>$TOOLTIP_" + section + "_" + parameter, "<td>" + htmlTooltip)
|
||||||
with open(docsMainFolder + "/" + refImagePage, 'w') as refImagePageHandle:
|
with open(docsMainFolder + "/" + refImagePage, 'w') as refImagePageHandle:
|
||||||
refImagePageHandle.write(refImagePageContent)
|
refImagePageHandle.write(refImagePageContent)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user