rustdoc: Add rustdoc class to <body> tag

This allows for easier application of user stylesheets to rustdocs no
matter where they are hosted.
This commit is contained in:
Tom Jakubowski 2014-08-02 18:20:27 -07:00
parent 1c6ee3f27d
commit 9b44dfc764
2 changed files with 2 additions and 2 deletions

View File

@ -48,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

View File

@ -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