Update multiple documentation pages to replace references to Twitter with X.com, update links, and enhance clarity across various guides.

This commit is contained in:
qweered 2025-01-24 16:59:42 +02:00 committed by nbats
parent d63cab4430
commit 6e35c3f80f
19 changed files with 58 additions and 72 deletions

View file

@ -278,24 +278,12 @@ const transformLinks = (text: string): string =>
replace:
'<a target="_blank" href="$1"><div alt="GitHub" class="i-carbon:logo-github" /></a>'
},
{
name: 'GitHub Fallback',
find: /\[Github\]\(([^\)]*?)\)/gm,
replace:
'<a target="_blank" href="$1"><div alt="GitHub" class="i-carbon:logo-github" /></a>'
},
{
name: 'GitLab',
find: /\[GitLab\]\(([^\)]*?)\)/gm,
replace:
'<a target="_blank" href="$1"><div alt="GitLab" class="i-carbon:logo-gitlab" /></a>'
},
{
name: 'GitLab Fallback',
find: /\[Gitlab\]\(([^\)]*?)\)/gm,
replace:
'<a target="_blank" href="$1"><div alt="GitLab" class="i-carbon:logo-gitlab" /></a>'
},
{
name: 'Telegram',
find: /\[Telegram\]\(([^\)]*?)\)/gm,
@ -309,10 +297,10 @@ const transformLinks = (text: string): string =>
'<a target="_blank" href="$1"><div alt="Reddit" class="i-mdi:reddit" /></a>'
},
{
name: 'Twitter',
find: /\[Twitter\]\(([^\)]*?)\)/gm,
name: 'X',
find: /\[X\]\(([^\)]*?)\)/gm,
replace:
'<a target="_blank" href="$1"><div alt="Twitter" class="i-mdi:twitter" /></a>'
'<a target="_blank" href="$1"><div alt="X" class="i-cabon:logo-x" /></a>'
},
{
name: 'Tor',