Skip to content

Commit 047784b

Browse files
Automatic link to Taipy's doc page from the element properties doc in the IDE (Page Builder API) (#2484)
- xrefs from IDE to Classes page doc - Elements doc homogeneity - Remove Gui doc examples from coverage - Avoid coverage test break if no related file was detected.
1 parent 1ae7814 commit 047784b

File tree

6 files changed

+84
-47
lines changed

6 files changed

+84
-47
lines changed

.coveragerc

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[run]
22
omit =
33
tests/*
4+
doc/gui/*.py
45

56
[report]
67
exclude_lines =

doc/gui/examples/controls/toggle_styling.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"<|{value}|toggle|lov=Item 1;Item 2;Item 3;Item 4;Item 5|>",
2222
style={
2323
".taipy-toggle": {
24-
".MuiToggleButtonGroup-root": { # Select the list
25-
".MuiToggleButton-root:nth-child(even)": { # Even button colors
24+
".MuiToggleButtonGroup-root": { # Select the buttons group
25+
".MuiToggleButton-root:nth-child(even)": { # Style for even buttons
2626
"background-color": "lightgrey",
2727
"color": "black",
2828
},
29-
".MuiToggleButton-root:nth-child(odd)": { # Odd button colors
29+
".MuiToggleButton-root:nth-child(odd)": { # Style for odd buttons
3030
"background-color": "darkgrey",
3131
"color": "white",
3232
},

0 commit comments

Comments
 (0)