mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
Add Bluesky (#560)
This commit is contained in:
@@ -155,6 +155,7 @@ def full_rendercv_model(testdata_dir: pathlib.Path) -> RenderCVModel:
|
||||
SocialNetwork(network="Telegram", username="johndoe"),
|
||||
SocialNetwork(network="WhatsApp", username="+14155552671"),
|
||||
SocialNetwork(network="X", username="johndoe"),
|
||||
SocialNetwork(network="Bluesky", username="johndoe.bsky.social"),
|
||||
],
|
||||
sections={
|
||||
"Text Entries": [
|
||||
|
||||
1
tests/renderer/testdata/test_html/full.html
vendored
1
tests/renderer/testdata/test_html/full.html
vendored
@@ -59,6 +59,7 @@
|
||||
<li>Telegram: <a href="https://t.me/johndoe">johndoe</a></li>
|
||||
<li>WhatsApp: <a href="https://wa.me/+14155552671">+14155552671</a></li>
|
||||
<li>X: <a href="https://x.com/johndoe">johndoe</a></li>
|
||||
<li>Bluesky: <a href="https://bsky.app/profile/johndoe.bsky.social">johndoe.bsky.social</a></li>
|
||||
</ul>
|
||||
<h1>Text Entries</h1>
|
||||
<p>This is a <em>TextEntry</em>. It is only a text and can be useful for sections like <strong>Summary</strong>. To showcase the TextEntry completely, this sentence is added, but it doesn't contain any information.</p>
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
- Telegram: [johndoe](https://t.me/johndoe)
|
||||
- WhatsApp: [+14155552671](https://wa.me/+14155552671)
|
||||
- X: [johndoe](https://x.com/johndoe)
|
||||
- Bluesky: [johndoe.bsky.social](https://bsky.app/profile/johndoe.bsky.social)
|
||||
|
||||
|
||||
# Text Entries
|
||||
|
||||
30175
tests/renderer/testdata/test_pdf_png/classic_full.pdf
vendored
30175
tests/renderer/testdata/test_pdf_png/classic_full.pdf
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
29618
tests/renderer/testdata/test_pdf_png/moderncv_full.pdf
vendored
29618
tests/renderer/testdata/test_pdf_png/moderncv_full.pdf
vendored
File diff suppressed because one or more lines are too long
28296
tests/renderer/testdata/test_pdf_png/sb2nov_full.pdf
vendored
28296
tests/renderer/testdata/test_pdf_png/sb2nov_full.pdf
vendored
File diff suppressed because one or more lines are too long
@@ -113,6 +113,7 @@
|
||||
[#link("https://t.me/johndoe", icon: false, if-underline: false, if-color: false)[#connection-with-icon("telegram")[johndoe]]],
|
||||
[#link("https://wa.me/+14155552671", icon: false, if-underline: false, if-color: false)[#connection-with-icon("whatsapp")[+14155552671]]],
|
||||
[#link("https://x.com/johndoe", icon: false, if-underline: false, if-color: false)[#connection-with-icon("x-twitter")[johndoe]]],
|
||||
[#link("https://bsky.app/profile/johndoe.bsky.social", icon: false, if-underline: false, if-color: false)[#connection-with-icon("bluesky")[johndoe.bsky.social]]],
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@@ -113,6 +113,7 @@
|
||||
[#link("https://t.me/johndoe", icon: false, if-underline: false, if-color: false)[#connection-with-icon("telegram")[johndoe]]],
|
||||
[#link("https://wa.me/+14155552671", icon: false, if-underline: false, if-color: false)[#connection-with-icon("whatsapp")[+14155552671]]],
|
||||
[#link("https://x.com/johndoe", icon: false, if-underline: false, if-color: false)[#connection-with-icon("x-twitter")[johndoe]]],
|
||||
[#link("https://bsky.app/profile/johndoe.bsky.social", icon: false, if-underline: false, if-color: false)[#connection-with-icon("bluesky")[johndoe.bsky.social]]],
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@@ -113,6 +113,7 @@
|
||||
[#link("https://t.me/johndoe", icon: false, if-underline: false, if-color: false)[t.me\/johndoe]],
|
||||
[#link("https://wa.me/+14155552671", icon: false, if-underline: false, if-color: false)[wa.me\/+14155552671]],
|
||||
[#link("https://x.com/johndoe", icon: false, if-underline: false, if-color: false)[x.com\/johndoe]],
|
||||
[#link("https://bsky.app/profile/johndoe.bsky.social", icon: false, if-underline: false, if-color: false)[bsky.app\/profile\/johndoe.bsky.social]],
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@@ -113,6 +113,7 @@
|
||||
[#link("https://t.me/johndoe", icon: false, if-underline: false, if-color: false)[#connection-with-icon("telegram")[johndoe]]],
|
||||
[#link("https://wa.me/+14155552671", icon: false, if-underline: false, if-color: false)[#connection-with-icon("whatsapp")[+14155552671]]],
|
||||
[#link("https://x.com/johndoe", icon: false, if-underline: false, if-color: false)[#connection-with-icon("x-twitter")[johndoe]]],
|
||||
[#link("https://bsky.app/profile/johndoe.bsky.social", icon: false, if-underline: false, if-color: false)[#connection-with-icon("bluesky")[johndoe.bsky.social]]],
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@@ -113,6 +113,7 @@
|
||||
[#link("https://t.me/johndoe", icon: false, if-underline: false, if-color: false)[t.me\/johndoe]],
|
||||
[#link("https://wa.me/+14155552671", icon: false, if-underline: false, if-color: false)[wa.me\/+14155552671]],
|
||||
[#link("https://x.com/johndoe", icon: false, if-underline: false, if-color: false)[x.com\/johndoe]],
|
||||
[#link("https://bsky.app/profile/johndoe.bsky.social", icon: false, if-underline: false, if-color: false)[bsky.app\/profile\/johndoe.bsky.social]],
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@@ -83,6 +83,11 @@ class TestSocialNetwork:
|
||||
"myusername",
|
||||
"https://x.com/myusername",
|
||||
),
|
||||
(
|
||||
"Bluesky",
|
||||
"myusername.bsky.social",
|
||||
"https://bsky.app/profile/myusername.bsky.social"
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_url(self, network, username, expected_url):
|
||||
|
||||
Reference in New Issue
Block a user