From 05d7271f91fd29fb75202913fa8caab5f7790718 Mon Sep 17 00:00:00 2001 From: "O.S.Tezer" Date: Fri, 18 Apr 2014 00:53:39 +0300 Subject: [PATCH] Amendments providing the "Edit on GitHub" link for docs on master. Docker-DCO-1.1-Signed-off-by: O.S. Tezer (github: ostezer) --- docs/theme/mkdocs/breadcrumbs.html | 1 + docs/theme/mkdocs/css/base.css | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/docs/theme/mkdocs/breadcrumbs.html b/docs/theme/mkdocs/breadcrumbs.html index aa4e90af8b..3dc2dbbafb 100644 --- a/docs/theme/mkdocs/breadcrumbs.html +++ b/docs/theme/mkdocs/breadcrumbs.html @@ -8,4 +8,5 @@ {% endif %} {% endif %} {% endfor %} +
  • Edit on GitHub
  • \ No newline at end of file diff --git a/docs/theme/mkdocs/css/base.css b/docs/theme/mkdocs/css/base.css index 932b298eb1..879cf636c6 100644 --- a/docs/theme/mkdocs/css/base.css +++ b/docs/theme/mkdocs/css/base.css @@ -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; }