Merge pull request #210 from lvuch/lv-0605

improve this page partial for docs contributors
This commit is contained in:
Denise
2018-06-06 20:00:46 -07:00
committed by GitHub
4 changed files with 11 additions and 0 deletions
+2
View File
@@ -14,6 +14,8 @@ pygmentsCodeFencesGuessSyntax=true
[params]
addThis = "ra-5af1cc6793d86bfb"
### Edit content repo (set to automatically enter "edit" mode; this is good for "improve this page" links)
ghdocsrepo = "https://github.com/rancher/docs"
[outputFormats.Search]
baseName = "search"
+2
View File
@@ -88,6 +88,8 @@
</div>
{{ template "_internal/pagination.html" . }}
{{ partial "breadcrumbs.html" . }}
<div class="p-v-xs">{{ partial "page-edit.html" . }}</div>
</article>
<div class="offset-watch invisible"></div>
<aside class="col-sm-3 col-xs-12 unstyled toc-container hidden-md">
+5
View File
@@ -40,6 +40,8 @@
</div>
{{ partial "breadcrumbs.html" . }}
<div class="p-v-sm">{{ partial "page-edit.html" . }}</div>
</article>
<div class="offset-watch invisible"></div>
<aside class="col-sm-3 col-xs-12 unstyled toc-container">
@@ -47,5 +49,8 @@
{{ .TableOfContents }}
</aside>
</div>
</div>
{{ end }}
+2
View File
@@ -0,0 +1,2 @@
<a href="{{.Site.Params.ghdocsrepo}}/edit/master/content/{{.File.Path}}" class="btn bg-link">Edit this page <i class="material-icons">
edit</i></a>