mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #5274 from ostezer/docs-add-edit-on-github-link
Amendments providing the "Edit on GitHub" link for docs on master.
This commit is contained in:
commit
a0cfcbf648
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
|
@ -439,6 +439,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