Browse code

Merge pull request #5274 from ostezer/docs-add-edit-on-github-link

Amendments providing the "Edit on GitHub" link for docs on master.

Sven Dowideit authored on 2014/04/18 11:43:24
Showing 2 changed files
... ...
@@ -8,4 +8,5 @@
8 8
       {% endif %}
9 9
     {% endif %}
10 10
   {% endfor %}
11
+  <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>
11 12
 </ol>
12 13
\ No newline at end of file
... ...
@@ -439,6 +439,15 @@ ol.breadcrumb > li + li:before {
439 439
 ol.breadcrumb > li:last-child > a {
440 440
   font-weight: bold;
441 441
 }
442
+ol.breadcrumb > li.edit-on-github:before {
443
+  content: none;
444
+}
445
+ol.breadcrumb > li.edit-on-github a {
446
+  color: #FF8100;
447
+}
448
+ol.breadcrumb > li.edit-on-github span {
449
+  margin-right: 0.25em;
450
+}
442 451
 #content h1 {
443 452
   margin-top: 0px;
444 453
 }