Skip to content

Commit f410da5

Browse files
committed
Add doc comments describing fields on externalfiles::ExternalHtml.
1 parent fd073cf commit f410da5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/librustdoc/externalfiles.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ use std::str;
1616

1717
#[derive(Clone)]
1818
pub struct ExternalHtml{
19+
/// Content that will be included inline in the <head> section of a
20+
/// rendered Markdown file or generated documentation
1921
pub in_header: String,
22+
/// Content that will be included inline between <body> and the content of
23+
/// a rendered Markdown file or generated documentation
2024
pub before_content: String,
25+
/// Content that will be included inline between the content and </body> of
26+
/// a rendered Markdown file or generated documentation
2127
pub after_content: String
2228
}
2329

0 commit comments

Comments
 (0)