Skip to content

Commit

Permalink
docs: fix relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
percevalw committed Nov 8, 2024
1 parent af97e08 commit f2247ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/scripts/clickable_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ def replace_link(match):

output = regex.sub(PIPE_REGEX, replace_component, output)
output = regex.sub(HTML_PIPE_REGEX, replace_component, output)
output = regex.sub(HREF_REGEX, replace_link, output)

all_snippets = ""
all_offsets = []
Expand Down Expand Up @@ -187,6 +186,8 @@ def replace_link(match):
for soup, start, end in reversed(soups):
output = output[:start] + str(soup) + output[end:]

output = regex.sub(HREF_REGEX, replace_link, output)

return output

@classmethod
Expand Down

0 comments on commit f2247ff

Please sign in to comment.