File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2113,7 +2113,8 @@ impl Context {
2113
2113
& final_file) ;
2114
2114
2115
2115
// Generating settings page.
2116
- let settings = Settings :: new ( "./" , & self . shared . resource_suffix ) ;
2116
+ let settings = Settings :: new ( self . shared . static_root_path . deref ( ) . unwrap_or ( "./" ) ,
2117
+ & self . shared . resource_suffix ) ;
2117
2118
page. title = "Rustdoc settings" ;
2118
2119
page. description = "Settings of Rustdoc" ;
2119
2120
page. root_path = "./" ;
Original file line number Diff line number Diff line change @@ -12,3 +12,7 @@ pub struct SomeStruct;
12
12
// @!matches - '"\.\./\.\./source-script\.js"'
13
13
// @matches - '"\.\./\.\./source-files.js"'
14
14
// @!matches - '"/cache/source-files\.js"'
15
+
16
+ // @has settings.html
17
+ // @matches - '/cache/settings\.js'
18
+ // @!matches - '\./settings\.js'
You can’t perform that action at this time.
0 commit comments