staticdash 2025.22__py3-none-any.whl → 2025.23__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- staticdash/dashboard.py +13 -6
- {staticdash-2025.22.dist-info → staticdash-2025.23.dist-info}/METADATA +1 -1
- staticdash-2025.23.dist-info/RECORD +8 -0
- staticdash-2025.22.dist-info/RECORD +0 -8
- {staticdash-2025.22.dist-info → staticdash-2025.23.dist-info}/WHEEL +0 -0
- {staticdash-2025.22.dist-info → staticdash-2025.23.dist-info}/top_level.txt +0 -0
staticdash/dashboard.py
CHANGED
|
@@ -427,6 +427,7 @@ class Dashboard:
|
|
|
427
427
|
self.canv.bookmarkPage(key)
|
|
428
428
|
self.canv.addOutlineEntry(text, key, level=outline_level, closed=False)
|
|
429
429
|
|
|
430
|
+
|
|
430
431
|
self.notify('TOCEntry', (outline_level, text, self.page))
|
|
431
432
|
|
|
432
433
|
|
|
@@ -469,9 +470,14 @@ class Dashboard:
|
|
|
469
470
|
heading_style = styles['Heading1'] if level == 0 else styles['Heading2']
|
|
470
471
|
|
|
471
472
|
# Only add the page.title as a real heading if it's a top-level page
|
|
472
|
-
if level == 0:
|
|
473
|
-
|
|
474
|
-
|
|
473
|
+
# if level == 0:
|
|
474
|
+
# story.append(Paragraph(page.title, heading_style))
|
|
475
|
+
# story.append(Spacer(1, 12))
|
|
476
|
+
|
|
477
|
+
heading_style = styles['Heading1'] if level == 0 else styles['Heading2']
|
|
478
|
+
story.append(Paragraph(page.title, heading_style))
|
|
479
|
+
story.append(Spacer(1, 12))
|
|
480
|
+
|
|
475
481
|
|
|
476
482
|
for kind, content, _ in page.elements:
|
|
477
483
|
if kind == "text":
|
|
@@ -545,9 +551,10 @@ class Dashboard:
|
|
|
545
551
|
elif kind == "minipage":
|
|
546
552
|
render_page(content, level=level + 1, sec_prefix=sec_prefix)
|
|
547
553
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
554
|
+
for child in page.children:
|
|
555
|
+
story.append(PageBreak())
|
|
556
|
+
render_page(child, level=level + 1, sec_prefix=sec_prefix + [1])
|
|
557
|
+
|
|
551
558
|
|
|
552
559
|
story.append(PageBreak())
|
|
553
560
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
staticdash/__init__.py,sha256=UN_-h8wFGfTPHYjnEb7N9CsxqXo-DQVo0cmREOtvRXE,244
|
|
2
|
+
staticdash/dashboard.py,sha256=pC1GI1lZ_8odSBItiZ2uJeeYKjlKLL67pNQlbMCuQNM,27296
|
|
3
|
+
staticdash/assets/css/style.css,sha256=RVqNdwBsaDv8izdOQjGmUZ4NROWF8uZhiq8DTNvUB1M,5962
|
|
4
|
+
staticdash/assets/js/script.js,sha256=7xBRlz_19wybbNVwAcfuKNXtDEojGB4EB0Yj4klsoTA,6998
|
|
5
|
+
staticdash-2025.23.dist-info/METADATA,sha256=zEz5tHigr_-tG10s_BFjPoaGvL1t8Umawj9Ajk-F3ww,1960
|
|
6
|
+
staticdash-2025.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
+
staticdash-2025.23.dist-info/top_level.txt,sha256=3MzZU6SptkUkjcHV1cvPji0H4aRzPphLHnpStgGEcxM,11
|
|
8
|
+
staticdash-2025.23.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
staticdash/__init__.py,sha256=UN_-h8wFGfTPHYjnEb7N9CsxqXo-DQVo0cmREOtvRXE,244
|
|
2
|
-
staticdash/dashboard.py,sha256=YPpfUFHwMo0olakaviFdJFDRnMHbTeR5XtXz9yUsxGU,27120
|
|
3
|
-
staticdash/assets/css/style.css,sha256=RVqNdwBsaDv8izdOQjGmUZ4NROWF8uZhiq8DTNvUB1M,5962
|
|
4
|
-
staticdash/assets/js/script.js,sha256=7xBRlz_19wybbNVwAcfuKNXtDEojGB4EB0Yj4klsoTA,6998
|
|
5
|
-
staticdash-2025.22.dist-info/METADATA,sha256=KpCDLsvS8fGjFe_AZ6zZyjUl2LICSNb5lFCdTuQIGZk,1960
|
|
6
|
-
staticdash-2025.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
-
staticdash-2025.22.dist-info/top_level.txt,sha256=3MzZU6SptkUkjcHV1cvPji0H4aRzPphLHnpStgGEcxM,11
|
|
8
|
-
staticdash-2025.22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|