diff --git a/rendercv/data_models.py b/rendercv/data_models.py index 91fea0a..e7e90e7 100644 --- a/rendercv/data_models.py +++ b/rendercv/data_models.py @@ -809,7 +809,6 @@ SocialNetworkName = Literal[ "Instagram", "ORCID", "Mastodon", - "Twitter", "StackOverflow", "ResearchGate", "YouTube", @@ -888,7 +887,6 @@ class SocialNetwork(RenderCVBaseModel): "GitLab": "https://gitlab.com/", "Instagram": "https://instagram.com/", "ORCID": "https://orcid.org/", - "Twitter": "https://twitter.com/", "StackOverflow": "https://stackoverflow.com/users/", "ResearchGate": "https://researchgate.net/profile/", "YouTube": "https://youtube.com/@", @@ -1000,7 +998,6 @@ class CurriculumVitae(RenderCVBaseModel): "Mastodon": "\\faMastodon", "ORCID": "\\faOrcid", "StackOverflow": "\\faStackOverflow", - "Twitter": "\\faTwitter", "ResearchGate": "\\faResearchgate", "YouTube": "\\faYoutube", "Google Scholar": "\\faGraduationCap", @@ -1459,7 +1456,7 @@ def get_a_sample_data_model( name = name.encode().decode("unicode-escape") sections = { - "welcome_to_rendercv!": [ + "welcome_to_RenderCV!": [ ( "[RenderCV](https://github.com/sinaatalay/rendercv) is a LaTeX-based" " CV/resume framework. It allows you to create a high-quality CV or" diff --git a/schema.json b/schema.json index 26a478e..599468e 100644 --- a/schema.json +++ b/schema.json @@ -1840,7 +1840,6 @@ "Instagram", "ORCID", "Mastodon", - "Twitter", "StackOverflow", "ResearchGate", "YouTube", diff --git a/tests/conftest.py b/tests/conftest.py index d6b9854..20731c9 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -297,7 +297,6 @@ def rendercv_filled_curriculum_vitae_data_model( dm.SocialNetwork(network="ORCID", username="0000-0000-0000-0000"), dm.SocialNetwork(network="Google Scholar", username="F8IyYrQAAAAJ"), dm.SocialNetwork(network="Mastodon", username="@johndoe@example.com"), - dm.SocialNetwork(network="Twitter", username="johndoe"), dm.SocialNetwork(network="StackOverflow", username="12323/johndoe"), dm.SocialNetwork(network="GitLab", username="johndoe"), dm.SocialNetwork(network="ResearchGate", username="johndoe"), diff --git a/tests/test_data_models.py b/tests/test_data_models.py index 93db3a7..fae36d8 100644 --- a/tests/test_data_models.py +++ b/tests/test_data_models.py @@ -424,7 +424,6 @@ def test_invalid_social_networks(network, username): ("GitHub", "myusername", "https://github.com/myusername"), ("Instagram", "myusername", "https://instagram.com/myusername"), ("ORCID", "myusername", "https://orcid.org/myusername"), - ("Twitter", "myusername", "https://twitter.com/myusername"), ("Mastodon", "@myusername@test.org", "https://test.org/@myusername"), ( "StackOverflow", diff --git a/tests/testdata/test_generate_latex_file/classic_filled.tex b/tests/testdata/test_generate_latex_file/classic_filled.tex index f4e2a87..f8f8af8 100644 --- a/tests/testdata/test_generate_latex_file/classic_filled.tex +++ b/tests/testdata/test_generate_latex_file/classic_filled.tex @@ -224,10 +224,6 @@ \kern 0.25 cm% \AND% \kern 0.25 cm% - \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}}% - \kern 0.25 cm% - \AND% - \kern 0.25 cm% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}% \kern 0.25 cm% \AND% diff --git a/tests/testdata/test_generate_latex_file/engineeringresumes_filled.tex b/tests/testdata/test_generate_latex_file/engineeringresumes_filled.tex index d67769c..bbfc6ad 100644 --- a/tests/testdata/test_generate_latex_file/engineeringresumes_filled.tex +++ b/tests/testdata/test_generate_latex_file/engineeringresumes_filled.tex @@ -205,10 +205,6 @@ \kern 5.0 pt% \AND% \kern 5.0 pt% - \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{twitter.com/johndoe}}% - \kern 5.0 pt% - \AND% - \kern 5.0 pt% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{stackoverflow.com/users/12323/johndoe}}% \kern 5.0 pt% \AND% diff --git a/tests/testdata/test_generate_latex_file/moderncv_filled.tex b/tests/testdata/test_generate_latex_file/moderncv_filled.tex index 450281a..15a78f6 100644 --- a/tests/testdata/test_generate_latex_file/moderncv_filled.tex +++ b/tests/testdata/test_generate_latex_file/moderncv_filled.tex @@ -53,7 +53,6 @@ \social[orcid]{0000-0000-0000-0000} \social[googlescholar]{F8IyYrQAAAAJ} \social[mastodon]{@johndoe@example.com} -\social[twitter]{johndoe} \social[stackoverflow]{12323/johndoe} \social[gitlab]{johndoe} \social[researchgate]{johndoe} diff --git a/tests/testdata/test_generate_latex_file/sb2nov_filled.tex b/tests/testdata/test_generate_latex_file/sb2nov_filled.tex index 1da958d..2080bb2 100644 --- a/tests/testdata/test_generate_latex_file/sb2nov_filled.tex +++ b/tests/testdata/test_generate_latex_file/sb2nov_filled.tex @@ -200,10 +200,6 @@ \kern 0.25 cm% \AND% \kern 0.25 cm% - \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{\color{black}{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}}% - \kern 0.25 cm% - \AND% - \kern 0.25 cm% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{\color{black}{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}% \kern 0.25 cm% \AND% diff --git a/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex index f4e2a87..f8f8af8 100644 --- a/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex +++ b/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex @@ -224,10 +224,6 @@ \kern 0.25 cm% \AND% \kern 0.25 cm% - \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}}% - \kern 0.25 cm% - \AND% - \kern 0.25 cm% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}% \kern 0.25 cm% \AND% diff --git a/tests/testdata/test_generate_latex_file_and_copy_theme_files/engineeringresumes_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/engineeringresumes_filled/John_Doe_CV.tex index d67769c..bbfc6ad 100644 --- a/tests/testdata/test_generate_latex_file_and_copy_theme_files/engineeringresumes_filled/John_Doe_CV.tex +++ b/tests/testdata/test_generate_latex_file_and_copy_theme_files/engineeringresumes_filled/John_Doe_CV.tex @@ -205,10 +205,6 @@ \kern 5.0 pt% \AND% \kern 5.0 pt% - \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{twitter.com/johndoe}}% - \kern 5.0 pt% - \AND% - \kern 5.0 pt% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{stackoverflow.com/users/12323/johndoe}}% \kern 5.0 pt% \AND% diff --git a/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex index 450281a..15a78f6 100644 --- a/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex +++ b/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex @@ -53,7 +53,6 @@ \social[orcid]{0000-0000-0000-0000} \social[googlescholar]{F8IyYrQAAAAJ} \social[mastodon]{@johndoe@example.com} -\social[twitter]{johndoe} \social[stackoverflow]{12323/johndoe} \social[gitlab]{johndoe} \social[researchgate]{johndoe} diff --git a/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex index 1da958d..2080bb2 100644 --- a/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex +++ b/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex @@ -200,10 +200,6 @@ \kern 0.25 cm% \AND% \kern 0.25 cm% - \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{\color{black}{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}}% - \kern 0.25 cm% - \AND% - \kern 0.25 cm% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{\color{black}{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}% \kern 0.25 cm% \AND% diff --git a/tests/testdata/test_generate_markdown_file/classic_filled.md b/tests/testdata/test_generate_markdown_file/classic_filled.md index 2ff6ca2..2732a82 100644 --- a/tests/testdata/test_generate_markdown_file/classic_filled.md +++ b/tests/testdata/test_generate_markdown_file/classic_filled.md @@ -10,7 +10,6 @@ - ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) - Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Mastodon: [@johndoe@example.com](https://example.com/@johndoe) -- Twitter: [johndoe](https://twitter.com/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) - GitLab: [johndoe](https://gitlab.com/johndoe) - ResearchGate: [johndoe](https://researchgate.net/profile/johndoe) diff --git a/tests/testdata/test_generate_markdown_file/engineeringresumes_filled.md b/tests/testdata/test_generate_markdown_file/engineeringresumes_filled.md index 2ff6ca2..2732a82 100644 --- a/tests/testdata/test_generate_markdown_file/engineeringresumes_filled.md +++ b/tests/testdata/test_generate_markdown_file/engineeringresumes_filled.md @@ -10,7 +10,6 @@ - ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) - Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Mastodon: [@johndoe@example.com](https://example.com/@johndoe) -- Twitter: [johndoe](https://twitter.com/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) - GitLab: [johndoe](https://gitlab.com/johndoe) - ResearchGate: [johndoe](https://researchgate.net/profile/johndoe) diff --git a/tests/testdata/test_generate_markdown_file/moderncv_filled.md b/tests/testdata/test_generate_markdown_file/moderncv_filled.md index 2ff6ca2..2732a82 100644 --- a/tests/testdata/test_generate_markdown_file/moderncv_filled.md +++ b/tests/testdata/test_generate_markdown_file/moderncv_filled.md @@ -10,7 +10,6 @@ - ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) - Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Mastodon: [@johndoe@example.com](https://example.com/@johndoe) -- Twitter: [johndoe](https://twitter.com/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) - GitLab: [johndoe](https://gitlab.com/johndoe) - ResearchGate: [johndoe](https://researchgate.net/profile/johndoe) diff --git a/tests/testdata/test_generate_markdown_file/sb2nov_filled.md b/tests/testdata/test_generate_markdown_file/sb2nov_filled.md index 2ff6ca2..2732a82 100644 --- a/tests/testdata/test_generate_markdown_file/sb2nov_filled.md +++ b/tests/testdata/test_generate_markdown_file/sb2nov_filled.md @@ -10,7 +10,6 @@ - ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) - Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Mastodon: [@johndoe@example.com](https://example.com/@johndoe) -- Twitter: [johndoe](https://twitter.com/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) - GitLab: [johndoe](https://gitlab.com/johndoe) - ResearchGate: [johndoe](https://researchgate.net/profile/johndoe) diff --git a/tests/testdata/test_latex_to_pdf/classic_filled.pdf b/tests/testdata/test_latex_to_pdf/classic_filled.pdf index 2f0bc60..1d2db86 100644 Binary files a/tests/testdata/test_latex_to_pdf/classic_filled.pdf and b/tests/testdata/test_latex_to_pdf/classic_filled.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/engineeringresumes_filled.pdf b/tests/testdata/test_latex_to_pdf/engineeringresumes_filled.pdf index 9b29292..48ffbb2 100644 Binary files a/tests/testdata/test_latex_to_pdf/engineeringresumes_filled.pdf and b/tests/testdata/test_latex_to_pdf/engineeringresumes_filled.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/moderncv_filled.pdf b/tests/testdata/test_latex_to_pdf/moderncv_filled.pdf index 49f1bbb..3e0368e 100644 Binary files a/tests/testdata/test_latex_to_pdf/moderncv_filled.pdf and b/tests/testdata/test_latex_to_pdf/moderncv_filled.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf b/tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf index ca3ea57..da06fcd 100644 Binary files a/tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf and b/tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf differ diff --git a/tests/testdata/test_markdown_to_html/classic_filled.html b/tests/testdata/test_markdown_to_html/classic_filled.html index f3bac60..49dd3c5 100644 --- a/tests/testdata/test_markdown_to_html/classic_filled.html +++ b/tests/testdata/test_markdown_to_html/classic_filled.html @@ -43,7 +43,6 @@