mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 11:36:51 +03:00
Replace relative documentation links with absolute ones pointing to the external documentation (#2180)
Co-authored-by: CaCO3 <caco@ruinelli.ch>
This commit is contained in:
@@ -36,6 +36,9 @@ def generateHtmlTooltip(section, parameter, markdownFile):
|
||||
# Make all links to be opened in a new page
|
||||
htmlTooltip = htmlTooltip.replace("a href", "a target=_blank href")
|
||||
|
||||
# Replace relative documentation links with absolute ones pointing to the external documentation
|
||||
htmlTooltip = htmlTooltip.replace("href=\"../", "href=\"https://jomjol.github.io/AI-on-the-edge-device-docs/")
|
||||
|
||||
# Add custom styles
|
||||
htmlTooltip = htmlTooltip.replace("<h3>", "<h3 style=\"margin: 0\">")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user