From bfaffe1844c7e29d9462968c89cfab4acc7f8282 Mon Sep 17 00:00:00 2001 From: felix-russo <72298366+felix-russo@users.noreply.github.com> Date: Tue, 7 Nov 2023 10:30:45 +0100 Subject: [PATCH] docs: fix path for white paper screen shots (#2641) --- docs/white_papers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/white_papers.py b/docs/white_papers.py index 9d517fdc993..113f34bdc9e 100755 --- a/docs/white_papers.py +++ b/docs/white_papers.py @@ -218,11 +218,12 @@ async def pull( repo = whp.repo slug = whp.slug - title_page_file = config_file.parent / f"{slug}.png" image_path = Path(__file__).parent / "white_papers" / "figures" assert image_path.is_dir(), image_path + title_page_file = image_path / f"{slug}.png" + latest_release = await get_latest_release(gh, repo) metadata_ref = None