Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2eb23b3e authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

Fix PDF links

parent 80c6d3ac
Branches
Tags 1.0.20231201-wip2 1.0.20231201-wip3
1 merge request!89Docs updates - chapter restructuring, images, and more
......@@ -39,7 +39,8 @@ for board, path, oshw_id in oshw_details:
for (dirpath, dirnames, filenames) in os.walk("boards"):
if '/'+path+'/' in dirpath+'/':
if path+'/' not in dirpath:
boards_path.append(dirpath)
path = dirpath.replace("boards/","")
boards_path.append(path)
boards_path = set(boards_path)
# -- Project information --
......@@ -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(("boards/"+board_path+"/index", board_tex_name+".tex", "", author, "manual"))
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment