Skip to content

Commit 06909a7

Browse files
authored
Update config.rs
1 parent d522a0a commit 06909a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ pub struct HtmlConfig {
497497
/// Additional CSS stylesheets to include in the rendered page's `<head>`.
498498
pub additional_css: Vec<PathBuf>,
499499
/// Additional theme.
500-
pub additional_theme: Vec<PathBuf>,
500+
pub additional_theme: Vec<String>,
501501
/// Additional JS scripts to include at the bottom of the rendered page's
502502
/// `<body>`.
503503
pub additional_js: Vec<PathBuf>,
@@ -792,7 +792,7 @@ mod tests {
792792
curly_quotes: true,
793793
google_analytics: Some(String::from("123456")),
794794
additional_css: vec![PathBuf::from("./foo/bar/baz.css")],
795-
additional_theme: vec![PathBuf::from("foobar")],
795+
additional_theme: vec![String::from("foobar")],
796796
theme: Some(PathBuf::from("./themedir")),
797797
default_theme: Some(String::from("rust")),
798798
playground: playground_should_be,
@@ -999,7 +999,7 @@ mod tests {
999999
curly_quotes: true,
10001000
google_analytics: Some(String::from("123456")),
10011001
additional_css: vec![PathBuf::from("custom.css"), PathBuf::from("custom2.css")],
1002-
additional_theme: vec![PathBuf::from("barfoo")],
1002+
additional_theme: vec![String::from("barfoo")],
10031003
additional_js: vec![PathBuf::from("custom.js")],
10041004
..Default::default()
10051005
};

0 commit comments

Comments
 (0)