From e98fa0e88f92f8c9f3a32cf8b7f68d8a42bb9dc1 Mon Sep 17 00:00:00 2001 From: Kang Seonghoon Date: Wed, 9 Sep 2015 00:46:44 +0900 Subject: [PATCH] rustdoc: Tweak the main template and CSS for semantic mark-up. - section.sidebar -> nav.sidebar, also added an unordered list. - div#help -> aside#help, also added a hidden heading. - the current crate is now emphasized in the sidebar. Fixes #16310. --- src/librustdoc/html/layout.rs | 14 ++++++++------ src/librustdoc/html/static/main.css | 14 ++++++++++---- src/librustdoc/html/static/main.js | 16 ++++++++++------ 3 files changed, 28 insertions(+), 16 deletions(-) diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index 51dc8c6e477..0a7ab432846 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -62,10 +62,10 @@ r##" {before_content} - +