aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/layouts/partials/edit-on-github.html
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2018-03-21 00:51:23 +0100
committerGitHub <noreply@github.com>2018-03-21 00:51:23 +0100
commit2dd8ad36ae5815aae9a0d25116e86e5b98b4f3ae (patch)
treed475aebbd0559174d1a2e51fba31eb89b357eb21 /docs/src/layouts/partials/edit-on-github.html
parentc6932cbde51c17486e73d909d35b311a5f97c8f4 (diff)
parent4eb6954c7d7b5327c59dfbd86cebfc3ea10c1033 (diff)
downloadmitmproxy-2dd8ad36ae5815aae9a0d25116e86e5b98b4f3ae.tar.gz
mitmproxy-2dd8ad36ae5815aae9a0d25116e86e5b98b4f3ae.tar.bz2
mitmproxy-2dd8ad36ae5815aae9a0d25116e86e5b98b4f3ae.zip
Merge pull request #3004 from mhils/docs-improvements
Docs Improvements
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 }}
+