&final_file);
// Generating settings page.
- let settings = Settings::new("./", &self.shared.resource_suffix);
+ let settings = Settings::new(self.shared.static_root_path.deref().unwrap_or("./"),
+ &self.shared.resource_suffix);
page.title = "Rustdoc settings";
page.description = "Settings of Rustdoc";
page.root_path = "./";
// @!matches - '"\.\./\.\./source-script\.js"'
// @matches - '"\.\./\.\./source-files.js"'
// @!matches - '"/cache/source-files\.js"'
+
+// @has settings.html
+// @matches - '/cache/settings\.js'
+// @!matches - '\./settings\.js'