Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/readthedocs/sphinx_rtd_theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.aaron00@gmail.com>2018-01-16 00:09:24 +0300
committerGitHub <noreply@github.com>2018-01-16 00:09:24 +0300
commit5062c200d6e956cb8a96ec2940177efab7d715db (patch)
treef484edb84b3816a1d43b97546582b47d0ddff55a /sphinx_rtd_theme/layout.html
parent636f37ae6794281a2d99efbed0ec68d6b4a1ed93 (diff)
Do not set the default role for the body tag (#542)
* Do not set the default role for the body tag See https://www.w3.org/TR/html5/sections.html#the-body-element And: https://github.com/sphinx-doc/sphinx/pull/3495 * Remove nav role from nav tag
Diffstat (limited to 'sphinx_rtd_theme/layout.html')
-rw-r--r--sphinx_rtd_theme/layout.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html
index e647bdd..21ddbaf 100644
--- a/sphinx_rtd_theme/layout.html
+++ b/sphinx_rtd_theme/layout.html
@@ -86,7 +86,7 @@
</head>
-<body class="wy-body-for-nav" role="document">
+<body class="wy-body-for-nav">
{% block extrabody %} {% endblock %}
<div class="wy-grid-for-nav">
@@ -152,7 +152,7 @@
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
{# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
- <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+ <nav class="wy-nav-top" aria-label="top navigation">
{% block mobile_nav %}
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="{{ pathto(master_doc) }}">{{ project }}</a>