Skip to content

Commit

Permalink
rustdoc: Add rustdoc class to <body> tag
Browse files Browse the repository at this point in the history
This allows for easier application of user stylesheets to rustdocs no
matter where they are hosted.
  • Loading branch information
tomjakubowski committed Aug 3, 2014
1 parent 1c6ee3f commit 9b44dfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustdoc/html/layout.rs
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/librustdoc/markdown.rs
Expand Up @@ -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
Expand Down

5 comments on commit 9b44dfc

@bors
Copy link
Contributor

@bors bors commented on 9b44dfc Aug 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at tomjakubowski@9b44dfc

@bors
Copy link
Contributor

@bors bors commented on 9b44dfc Aug 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging tomjakubowski/rust/rustdoc-html-changes = 9b44dfc into auto

@bors
Copy link
Contributor

@bors bors commented on 9b44dfc Aug 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tomjakubowski/rust/rustdoc-html-changes = 9b44dfc merged ok, testing candidate = d34e011

@bors
Copy link
Contributor

@bors bors commented on 9b44dfc Aug 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = d34e011

Please sign in to comment.