From 917f404c591350d8b1821e9cc6422c9bdbf24b22 Mon Sep 17 00:00:00 2001 From: pcremades Date: Tue, 22 Apr 2025 18:28:14 -0300 Subject: [PATCH] [Feature] Add link to STL files in documentation --- scripts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/views.py b/scripts/views.py index 56af36d..bed05c8 100755 --- a/scripts/views.py +++ b/scripts/views.py @@ -353,7 +353,7 @@ def views(target, do_assemblies = None): print('### 3D Printed parts', file = doc_file) keys = sorted(list(printed.keys())) for i, p in enumerate(keys): - print('%s %d x %s |' % ('\n|' if not (i % 3) else '', printed[p]["count"], p), file = doc_file, end = '') + print('%s %d x [%s](stls/%s) |' % ('\n|' if not (i % 3) else '', printed[p]["count"], p, p), file = doc_file, end = '') if (i % 3) == 2 or i == len(printed) - 1: n = (i % 3) + 1 print('\n|%s' % ('---|' * n), file = doc_file)