FA CSS fix for MkDocs share buttons (#6437)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
652dc6f4b7
commit
17edc5cf1b
54 changed files with 79 additions and 72 deletions
|
|
@ -81,6 +81,9 @@ class MarkdownLinkFixer:
|
|||
'ملخص', 'انظر أيضاً', 'تحذير']}
|
||||
|
||||
for term, eng_key in zip(translations.get(lang_dir.stem, []), english):
|
||||
if lang_dir.stem != 'en':
|
||||
content = re.sub(rf'!!! *{eng_key} *\n', f'!!! {eng_key} "{term}"\n', content, flags=re.IGNORECASE)
|
||||
content = re.sub(rf'!!! *{term} *\n', f'!!! {eng_key} "{term}"\n', content, flags=re.IGNORECASE)
|
||||
content = re.sub(rf'!!! *{term}', f'!!! {eng_key}', content, flags=re.IGNORECASE)
|
||||
content = re.sub(r'!!! *"', '!!! Example "', content, flags=re.IGNORECASE)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue