From d1ca29604e2d52007df96f433da22c1d79bc89ac Mon Sep 17 00:00:00 2001
From: Deepak Khatri <lorforlinux@beagleboard.org>
Date: Tue, 26 Mar 2024 00:03:39 +0530
Subject: [PATCH] WIP: Fix PDF build

---
 ...083.svg => PocketBeagle_pocketbeagle#original_US000083.svg} | 0
 conf.py                                                        | 3 ++-
 2 files changed, 2 insertions(+), 1 deletion(-)
 rename _static/images/oshw/{PocketBeagle_pocketbeagle_US000083.svg => PocketBeagle_pocketbeagle#original_US000083.svg} (100%)

diff --git a/_static/images/oshw/PocketBeagle_pocketbeagle_US000083.svg b/_static/images/oshw/PocketBeagle_pocketbeagle#original_US000083.svg
similarity index 100%
rename from _static/images/oshw/PocketBeagle_pocketbeagle_US000083.svg
rename to _static/images/oshw/PocketBeagle_pocketbeagle#original_US000083.svg
diff --git a/conf.py b/conf.py
index 76379378..9c0ccd2a 100644
--- a/conf.py
+++ b/conf.py
@@ -29,6 +29,7 @@ oshw_logos_path = "_static/images/oshw/"
 oshw_details = []
 for (dirpath, dirnames, filenames) in os.walk(oshw_logos_path):
     for filename in filenames:
+        filename.replace("#","/")
         if filename.endswith('.svg'):
             oshw_logo_name = filename.split(".")[0]
             oshw_details.append(oshw_logo_name.split('_'))
@@ -303,4 +304,4 @@ latex_elements = {
 
 for board_path in boards_path:
     board_tex_name = board_path.split('/')[-1]
-    latex_documents.append([(board_path+"/index", board_tex_name+".tex", "", author, "manual"),])
\ No newline at end of file
+    latex_documents.append((board_path+"/index", board_tex_name+".tex", "", author, "manual"))
\ No newline at end of file
-- 
GitLab