From 42329a9319136b17978e5e2de187f15d249fd1d8 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Tue, 27 Feb 2024 19:46:53 +0100 Subject: [PATCH] docs: update example entries --- docs/generate_entry_figures_and_examples.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/generate_entry_figures_and_examples.py b/docs/generate_entry_figures_and_examples.py index c539da1..242a550 100644 --- a/docs/generate_entry_figures_and_examples.py +++ b/docs/generate_entry_figures_and_examples.py @@ -5,6 +5,7 @@ import importlib.machinery import importlib.util import io import os +import sys import shutil from typing import Any @@ -60,7 +61,7 @@ experience_entry = { "end_date": "2021-08-12", "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**." ), "Managed a team of **5** engineers.", @@ -83,7 +84,7 @@ publication_entry = { " No-Insulation Coils" ), "authors": ["John Doe", "Harry Tom", "Sina Doe", "Anotherfirstname Andsurname"], - "date": "2023-12-08", + "date": "2021-12-08", "journal": "IEEE Transactions on Applied Superconductivity", "doi": "10.1109/TASC.2023.3340648", } @@ -264,9 +265,7 @@ def generate_examples(): ) # Move pdf file to the examples directory: - new_pdf_file_path = ( - examples_directory_path / f"{yaml_file_path.stem}.pdf" - ) + new_pdf_file_path = examples_directory_path / f"{yaml_file_path.stem}.pdf" if new_pdf_file_path.exists(): new_pdf_file_path.unlink() output_pdf_file.rename(new_pdf_file_path)