mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Make the side bar about in-document navigation by removing the duplicated h1
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
This commit is contained in:
parent
bb8ea1fdc1
commit
1f25bfea2d
2 changed files with 16 additions and 19 deletions
27
docs/theme/mkdocs/base.html
vendored
27
docs/theme/mkdocs/base.html
vendored
|
@ -47,12 +47,16 @@
|
|||
<div id="wrap">
|
||||
{% include "nav.html" %}
|
||||
<div id="content" class="container">
|
||||
{% if current_page.title != '**HIDDEN**' %}
|
||||
<div class="row" id="top-header">
|
||||
<div class="span7">
|
||||
<h1 class="header2">{{ current_page.title }}</h1>
|
||||
<div class="row">
|
||||
<div class="span3" id="leftnav">
|
||||
<div id="toc_table">
|
||||
<ul class="nav nav-tabs nav-stacked">
|
||||
{% include "toc.html" %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span5">
|
||||
</div>
|
||||
<div class="span9 content-body">
|
||||
{% include "beta_warning.html" %}
|
||||
<div id="versionnav" class="span3 pull-right">
|
||||
<ul class="nav version pull-right">
|
||||
<li class="dropdown">
|
||||
|
@ -66,19 +70,6 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="row">
|
||||
<div class="span3" id="leftnav">
|
||||
<div id="toc_table">
|
||||
<ul class="nav nav-tabs nav-stacked">
|
||||
{% include "toc.html" %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span9 content-body">
|
||||
{% include "beta_warning.html" %}
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
6
docs/theme/mkdocs/css/docs.css
vendored
6
docs/theme/mkdocs/css/docs.css
vendored
|
@ -329,3 +329,9 @@ ol li {
|
|||
table.table tr td img {
|
||||
width:100%;
|
||||
}
|
||||
#versionnav ul {
|
||||
list-style: none outside none;
|
||||
}
|
||||
#versionnav ul ul {
|
||||
padding: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue