docs: update example entries

This commit is contained in:
Sina Atalay 2024-02-27 19:46:53 +01:00
parent 2719972d0f
commit 42329a9319
1 changed files with 4 additions and 5 deletions

View File

@ -5,6 +5,7 @@ import importlib.machinery
import importlib.util import importlib.util
import io import io
import os import os
import sys
import shutil import shutil
from typing import Any from typing import Any
@ -60,7 +61,7 @@ experience_entry = {
"end_date": "2021-08-12", "end_date": "2021-08-12",
"highlights": [ "highlights": [
( (
"Developed a [IOS application](https://example.com) that has received" "Developed an [IOS application](https://example.com) that has received"
" more than **100,000 downloads**." " more than **100,000 downloads**."
), ),
"Managed a team of **5** engineers.", "Managed a team of **5** engineers.",
@ -83,7 +84,7 @@ publication_entry = {
" No-Insulation Coils" " No-Insulation Coils"
), ),
"authors": ["John Doe", "Harry Tom", "Sina Doe", "Anotherfirstname Andsurname"], "authors": ["John Doe", "Harry Tom", "Sina Doe", "Anotherfirstname Andsurname"],
"date": "2023-12-08", "date": "2021-12-08",
"journal": "IEEE Transactions on Applied Superconductivity", "journal": "IEEE Transactions on Applied Superconductivity",
"doi": "10.1109/TASC.2023.3340648", "doi": "10.1109/TASC.2023.3340648",
} }
@ -264,9 +265,7 @@ def generate_examples():
) )
# Move pdf file to the examples directory: # Move pdf file to the examples directory:
new_pdf_file_path = ( new_pdf_file_path = examples_directory_path / f"{yaml_file_path.stem}.pdf"
examples_directory_path / f"{yaml_file_path.stem}.pdf"
)
if new_pdf_file_path.exists(): if new_pdf_file_path.exists():
new_pdf_file_path.unlink() new_pdf_file_path.unlink()
output_pdf_file.rename(new_pdf_file_path) output_pdf_file.rename(new_pdf_file_path)