mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Amendments providing the "Edit on GitHub" link for docs on master.
Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)
This commit is contained in:
parent
57cbe8b106
commit
05d7271f91
2 changed files with 10 additions and 0 deletions
1
docs/theme/mkdocs/breadcrumbs.html
vendored
1
docs/theme/mkdocs/breadcrumbs.html
vendored
|
@ -8,4 +8,5 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<li class="pull-right edit-on-github"><a href="https://github.com/dotcloud/docker/blob/master/docs/sources/{{ current_page.input_path }}"><span class="glyphicon glyphicon-edit"></span>Edit on GitHub</a></li>
|
||||
</ol>
|
9
docs/theme/mkdocs/css/base.css
vendored
9
docs/theme/mkdocs/css/base.css
vendored
|
@ -425,6 +425,15 @@ ol.breadcrumb > li + li:before {
|
|||
ol.breadcrumb > li:last-child > a {
|
||||
font-weight: bold;
|
||||
}
|
||||
ol.breadcrumb > li.edit-on-github:before {
|
||||
content: none;
|
||||
}
|
||||
ol.breadcrumb > li.edit-on-github a {
|
||||
color: #FF8100;
|
||||
}
|
||||
ol.breadcrumb > li.edit-on-github span {
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
#content h1 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue