diff --git a/docs/mkdocs/hooks/url_schemes.py b/docs/mkdocs/hooks/url_schemes.py index 4d503499068..e6faf95cd46 100644 --- a/docs/mkdocs/hooks/url_schemes.py +++ b/docs/mkdocs/hooks/url_schemes.py @@ -106,8 +106,8 @@ class UrlSchemesPreprocessor(Preprocessor): return f"[{gh_icon} {title}]({url})" markdown = "\n".join(lines) - markdown = relative_link.sub(replace_relative_link, markdown) markdown = github_link.sub(replace_github_link, markdown) + markdown = relative_link.sub(replace_relative_link, markdown) return markdown.split("\n")