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
This package arose as an iteration on [sphinx-panels](https://github.com/executablebooks/sphinx-panels), with the intention to make it more flexible, easier to use, and minimise CSS clashes wth sphinx themes.
60
+
61
+
Notable changes:
62
+
63
+
### Reduce direct use of CSS classes
64
+
65
+
These are replaced by the use of directive options, which are:
66
+
67
+
- Easier to understand
68
+
- Easier to validate
69
+
- Easier to work with non-HTML outputs
70
+
- Easier to improve/refactor
71
+
72
+
### `panel` directive replaced
73
+
74
+
The `panel` directive is replaced by the use of the top-level `grid` directive,
75
+
then using `grid-item-card` directive children, rather than delimiting cards by `---`.
76
+
77
+
If no card is needed, then the `grid-item` directive can be used instead
78
+
and `card` can be also used independently of grids.
79
+
80
+
### `tabbed` directive replaced
81
+
82
+
The `tabbed` directive is replaced by the use of the top-level `tab-set` directive,
83
+
then using `tab-item` directive children.
84
+
85
+
The `:sync:` option allows to synchronize tab selection across sets.
86
+
87
+
The `tab-set-code` directive provides a shorthand for synced code examples.
88
+
89
+
### `octicon` icon role
90
+
91
+
The default SVGs produced are now sized relative to the surrounding text (i.e. using `1em`).
92
+
The syntax for specifying a custom size and adding classes is also changed.
93
+
94
+
This is similar for favicon icons.
95
+
96
+
### Improved CSS
97
+
98
+
Updated Bootstrap CSS from v4 -> v5,
99
+
which in particular allows top-level grid to define both column numbers and gutter sizes.
100
+
101
+
All CSS classes are prefixed with `sd-` (no clash with other theme/extension CSS)
0 commit comments