Skip to content

Commit dd2a4a1

Browse files
committed
size screenshots rtd
1 parent dd98f9a commit dd2a4a1

26 files changed

Lines changed: 117 additions & 38 deletions

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
and session scales settings dialogs, and regenerated workflow captures at
1414
native resolution (HiDPI-aware screen grab, improved PNG settings).
1515
- ``docs/_static/custom.css``: full-width RTD content; ``screenshot-full`` (wizard
16-
steps) and ``screenshot-medium`` (home, dialogs) with ``max-width: 720px`` to
17-
avoid upscaled blurry dialog images.
16+
steps) and ``screenshot-native`` (home, dialogs, electrode diagram) capped at
17+
each PNG's intrinsic width so dialogs are not upscaled on wide screens.
1818
- ``COPYRIGHT_HOLDERS`` and ``APP_LICENSE_NAME`` in ``config.py`` (shared with
1919
documentation).
2020

@@ -33,6 +33,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3333
BIDS files for longitudinal reports.
3434
- Documentation copyright: Massachusetts General Hospital, Wyss Center for Bio
3535
and Neuroengineering, and Charité Universitätsmedizin Berlin.
36+
- Screenshot capture uses the app's responsive window geometry (step 0 compact,
37+
steps 1+ full workflow) instead of a fixed 1600×1000 frame.
38+
39+
### Fixed
40+
41+
- Electrode diagram export: E0–En labels no longer clipped on the left in PNG
42+
output (wider label box and export left padding in ``ElectrodeCanvas``).
43+
- Docs screenshot pipeline: Windows ``QPixmap.save``/PNG compression; trim
44+
``grabWindow`` shadow bar on wizard captures; remove duplicate
45+
``electrode-canvas.png`` artifact.
46+
- Read the Docs build: ``installation.rst`` SmartScreen cross-reference and
47+
label placement for Sphinx ``-W`` builds.
3648

3749
## [0.4.0b1] - 2026-05-08
3850

docs/_static/annotations_list.png

2.94 KB
Loading

docs/_static/annotations_view.png

453 Bytes
Loading

docs/_static/custom.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,21 @@
1818
height: auto;
1919
}
2020

21-
/* Home screen, settings dialogs, and other modal / partial captures. */
21+
/*
22+
* Dialogs, home screen, electrode diagram, etc.
23+
* Never upscale beyond the PNG's intrinsic width; shrink only on narrow viewports.
24+
*/
25+
.rst-content img.screenshot-native,
26+
.wy-nav-content img.screenshot-native {
27+
width: auto !important;
28+
max-width: 100%;
29+
height: auto;
30+
}
31+
32+
/* Back-compat alias (older docs / branches). */
2233
.rst-content img.screenshot-medium,
2334
.wy-nav-content img.screenshot-medium {
24-
width: 60% !important;
25-
max-width: 720px;
35+
width: auto !important;
36+
max-width: 100%;
2637
height: auto;
2738
}

docs/_static/electrode-canvas.png

-60 KB
Binary file not shown.

docs/_static/electrode_diagram.png

-6.33 KB
Loading

docs/_static/home_screen.png

-9.61 KB
Loading

docs/_static/home_screen_dark.png

-9.63 KB
Loading
740 Bytes
Loading

docs/_static/longitudinal_view.png

797 Bytes
Loading

0 commit comments

Comments
 (0)