diff --git a/conf.py b/conf.py
index 3f41cbf59057001fb69bc9a7c887e383920ba210..953ce1412e05ba451552076d2bc2f0b0d0d14cb1 100644
--- a/conf.py
+++ b/conf.py
@@ -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