File tree Expand file tree Collapse file tree 4 files changed +23
-2
lines changed
docs/examples/kitchen-sink
src/pydata_sphinx_theme/assets/styles Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -121,3 +121,10 @@ Sphinx provides several different types of admonitions.
121
121
.. deprecated :: v0.1.1
122
122
123
123
Here's a deprecation message.
124
+
125
+ ``versionremoved ``
126
+ ==================
127
+
128
+ .. versionremoved :: v0.1.1
129
+
130
+ Here's a version removed message.
Original file line number Diff line number Diff line change 1
1
div .versionadded ,
2
2
div .versionchanged ,
3
- div .deprecated {
3
+ div .deprecated ,
4
+ div .versionremoved {
4
5
vertical-align : middle ;
5
6
margin : 1.5625em auto ;
6
7
padding : 0 0.6rem ;
@@ -34,7 +35,8 @@ div.versionchanged {
34
35
background-color : var (--pst-color-warning-bg );
35
36
}
36
37
37
- div .deprecated {
38
+ div .deprecated ,
39
+ div .versionremoved {
38
40
border-color : var (--pst-color-danger );
39
41
background-color : var (--pst-color-danger-bg );
40
42
}
@@ -70,3 +72,10 @@ span.versionmodified.deprecated {
70
72
content : var (--pst-icon-versionmodified-deprecated );
71
73
}
72
74
}
75
+
76
+ span .versionmodified.removed {
77
+ & ::before {
78
+ color : var (--pst-color-danger );
79
+ content : var (--pst-icon-versionmodified-removed );
80
+ }
81
+ }
Original file line number Diff line number Diff line change 7
7
--pst-icon-versionmodified-added : var (--pst-icon-exclamation-circle );
8
8
--pst-icon-versionmodified-changed : var (--pst-icon-exclamation-circle );
9
9
--pst-icon-versionmodified-deprecated : var (--pst-icon-exclamation-circle );
10
+ --pst-icon-versionmodified-removed : var (--pst-icon-exclamation-circle );
10
11
}
Original file line number Diff line number Diff line change @@ -2,3 +2,7 @@ WARNING: Cell printed to stderr:
2
2
Matplotlib is building the font cache; this may take a moment.
3
3
WARNING: failed to reach any of the inventories with the following issues:
4
4
intersphinx inventory
5
+ # THESE 3 WILL GO AWAY WHEN OUR MIN SPHINX VERSION IS 7.3 OR HIGHER
6
+ Here's a version removed message.
7
+ .. versionremoved:: v0.1.1
8
+ ERROR: Unknown directive type "versionremoved".
You can’t perform that action at this time.
0 commit comments