diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/layout.rs | 3 | ||||
| -rw-r--r-- | src/librustdoc/markdown.rs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index 356b224e6d5..70e9d004160 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -39,6 +39,7 @@ r##"<!DOCTYPE html> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="The {krate} library documentation."> + <meta name="generator" content="rustdoc"> <title>{title}</title> @@ -47,7 +48,7 @@ r##"<!DOCTYPE html> {favicon} {in_header} </head> -<body> +<body class="rustdoc"> <!--[if lte IE 8]> <div class="warning"> This old browser is unsupported and will most likely display funky diff --git a/src/librustdoc/markdown.rs b/src/librustdoc/markdown.rs index 29da9462c7f..98b902f4504 100644 --- a/src/librustdoc/markdown.rs +++ b/src/librustdoc/markdown.rs @@ -98,7 +98,7 @@ pub fn render(input: &str, mut output: Path, matches: &getopts::Matches, {css} {in_header} </head> -<body> +<body class="rustdoc"> <!--[if lte IE 8]> <div class="warning"> This old browser is unsupported and will most likely display funky |
