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:
O.S.Tezer 2014-04-18 00:53:39 +03:00
parent 57cbe8b106
commit 05d7271f91
2 changed files with 10 additions and 0 deletions

View File

@ -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>

View File

@ -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;
}