File tree Expand file tree Collapse file tree 11 files changed +26
-1
lines changed Expand file tree Collapse file tree 11 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
10
10
### Fixed
11
11
12
12
- Upgrade ` svgbobdoc ` to ` ^0.3.0 ` to fix build failures in documentation build
13
+ - Improve rustdoc theme detection on docs.rs
13
14
14
15
## [ 0.2.0] - 2022-03-15
15
16
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ function initThemeMonitor() {
152
152
document .body .classList .add (currentClassName);
153
153
}
154
154
155
- var match = themeStyle .href .match (/ ([a-z ] + )\. css$ / );
155
+ var match = themeStyle .href .match (/ \/ ([a-z ] + )(- [- a-zA-Z0-9 . ] * ) ? \. css$ / );
156
156
var currentStyle = (match && match[1 ]) || " light" ;
157
157
onApplyTheme (currentStyle);
158
158
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
10
10
### Fixed
11
11
12
12
- Upgrade ` svgbobdoc ` to ` ^0.3.0 ` to fix build failures in documentation build
13
+ - Improve rustdoc theme detection on docs.rs
13
14
14
15
## 0.1.0 - 2022-03-15
15
16
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
10
10
### Fixed
11
11
12
12
- Upgrade ` svgbobdoc ` to ` ^0.3.0 ` to fix build failures in documentation build
13
+ - Improve rustdoc theme detection on docs.rs
13
14
14
15
## 0.1.0 - 2022-03-15
15
16
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Fixed
11
+
12
+ - Improve rustdoc theme detection on docs.rs
13
+
10
14
## [ 0.2.0] - 2022-03-15
11
15
12
16
### Changed
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Fixed
11
+
12
+ - Improve rustdoc theme detection on docs.rs
13
+
10
14
## [ 0.3.0] - 2022-03-15
11
15
12
16
### Changed
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
10
10
### Fixed
11
11
12
12
- Upgrade ` svgbobdoc ` to ` ^0.3.0 ` to fix build failures in documentation build
13
+ - Improve rustdoc theme detection on docs.rs
13
14
14
15
## [ 0.2.0] - 2022-03-15
15
16
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Fixed
11
+
12
+ - Improve rustdoc theme detection on docs.rs
13
+
10
14
## [ 0.2.0] - 2022-03-15
11
15
12
16
### Changed
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
10
10
### Fixed
11
11
12
12
- Upgrade ` svgbobdoc ` to ` ^0.3.0 ` to fix build failures in documentation build
13
+ - Improve rustdoc theme detection on docs.rs
13
14
14
15
## [ 0.2.0] - 2022-03-15
15
16
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Fixed
11
+
12
+ - Improve rustdoc theme detection on docs.rs
13
+
10
14
## [ 0.2.0] - 2022-03-15
11
15
12
16
### Changed
You can’t perform that action at this time.
0 commit comments