aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/layouts/partials/edit-on-github.html
diff options
context:
space:
mode:
authorMiheer Dewaskar <miheerdew@gmail.com>2018-03-24 10:49:08 -0400
committerMiheer Dewaskar <miheerdew@gmail.com>2018-03-24 10:49:08 -0400
commit9ee96f022764c71a4a776956037230d6ef4fee7e (patch)
tree8ebae8b64fcc0474466b3321efec201416d75ed0 /docs/src/layouts/partials/edit-on-github.html
parent00d51db9250bedf8a36924e15345648b0cecc38f (diff)
parent2859ee2fa8c7f3311c069a40ada3975d31e8eccf (diff)
downloadmitmproxy-9ee96f022764c71a4a776956037230d6ef4fee7e.tar.gz
mitmproxy-9ee96f022764c71a4a776956037230d6ef4fee7e.tar.bz2
mitmproxy-9ee96f022764c71a4a776956037230d6ef4fee7e.zip
Merge master
Diffstat (limited to 'docs/src/layouts/partials/edit-on-github.html')
-rw-r--r--docs/src/layouts/partials/edit-on-github.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/src/layouts/partials/edit-on-github.html b/docs/src/layouts/partials/edit-on-github.html
new file mode 100644
index 00000000..d2c3098c
--- /dev/null
+++ b/docs/src/layouts/partials/edit-on-github.html
@@ -0,0 +1,9 @@
+{{ if and .IsPage (not (getenv "DOCS_ARCHIVE")) }}
+<a class="button is-small is-outlined is-link is-pulled-right"
+ target="_blank"
+ href="https://github.com/mitmproxy/mitmproxy/blob/master/docs/src/content/{{ .File.Path }}"
+>
+ Edit on GitHub
+</a>
+{{ end }}
+