summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-12-18 14:01:13 +1100
committerfauxpark <fauxpark@gmail.com>2019-12-18 14:01:13 +1100
commit3c190f8927f8676febb5e247908d2bdfd574a54b (patch)
tree525f9c95d6ee24f041c03d62ad41398cd58f2009 /docs
parent1ac99586a6035bb36fd8a9479b443e636a3abf87 (diff)
Improve docs "Edit Document" footer
Diffstat (limited to 'docs')
-rw-r--r--docs/contributing.md2
-rw-r--r--docs/index.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/contributing.md b/docs/contributing.md
index 7c365b4186..c4d5057a07 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -85,7 +85,7 @@ Limited experimentation on the devices I have available shows that 7 is high eno
Documentation is one of the easiest ways to get started contributing to QMK. Finding places where the documentation is wrong or incomplete and fixing those is easy! We also very badly need someone to edit our documentation, so if you have editing skills but aren't sure where or how to jump in please [reach out for help](#where-can-i-go-for-help)!
-You'll find all our documentation in the `qmk_firmware/docs` directory, or if you'd rather use a web based workflow you can click "Suggest An Edit" at the top of each page on http://docs.qmk.fm/.
+You'll find all our documentation in the `qmk_firmware/docs` directory, or if you'd rather use a web based workflow you can click the "Edit this page" link at the bottom of each page on https://docs.qmk.fm/.
When providing code examples in your documentation, try to observe naming conventions used elsewhere in the docs. For example, standardizing enums as `my_layers` or `my_keycodes` for consistency:
diff --git a/docs/index.html b/docs/index.html
index 8d03c6edef..9b33cd263a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -82,9 +82,9 @@
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
- url = 'https://github.com/qmk/qmk_firmware/blob/master/docs/' + vm.route.file
+ url = 'https://github.com/qmk/qmk_firmware/edit/master/docs/' + vm.route.file
}
- var editHtml = '[:memo: Edit Document](' + url + ')\n'
+ var editHtml = ':pencil2: [Edit this page](' + url + ')\n'
return html
+ '\n\n----\n\n'
+ editHtml