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:
parent
1c6ee3f27d
commit
9b44dfc764
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user