You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a BoolItem is defined with only the text parameter (first argument)
and no explicit label parameter (second argument), the label was
displayed as empty in to_string() output, resulting in ": ☐" or ": ☑"
instead of the expected "Item text: ☐".
This fix adds fallback logic to use the text property as label when
label is empty, matching the behavior already implemented in to_html().
This ensures consistency between text and HTML representations of
DataSets containing BoolItems.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,16 @@
4
4
5
5
🛠️ Bug fixes:
6
6
7
-
*
7
+
***DataSet.to_string()**: Fixed missing labels for BoolItem when only text is provided
8
+
* When a `BoolItem` is defined with only the `text` parameter (first argument) and no explicit `label` parameter (second argument), the label was displayed as empty in `to_string()` output, resulting in `: ☐` or `: ☑` instead of the expected `Item text: ☐`
9
+
* Added fallback logic to use the `text` property as label when `label` is empty, matching the behavior already implemented in `to_html()`
10
+
* This ensures consistency between text and HTML representations of DataSets containing BoolItems
11
+
12
+
***Qt scraper**: Fixed thumbnail generation for sphinx-gallery examples in subdirectories
13
+
* The `qt_scraper` now correctly detects and handles examples organized in subsections (e.g., `examples/features/`, `examples/advanced/`)
14
+
* Thumbnails are now saved in the correct subdirectory-specific `images/thumb/` folders instead of the top-level directory
15
+
* Image paths in generated RST files now include the subdirectory path
16
+
* Added new `_get_example_subdirectory()` helper function to extract subdirectory from source file path and avoid code duplication
0 commit comments