node/doc/api_assets
Rich Trott 61cd101e12 doc: add "Edit on GitHub" link
Proof of concept for an "Edit on GitHub" link, inspired by the
Serverless docs.

One issue is that the link is to the version of the docs on the master
branch even if the person was reading a different version of the doc. I
don't consider that a big problem, although we can always remove the
link if it turns out to be a big problem. I don't think there is a good
solution. PRs need to be opened against the master branch generally.
Having a bunch of PRs against staging branches is probably not what we
want. If there's an update to one version of the doc, there will usually
be an update to other versions.

PR-URL: https://github.com/nodejs/node/pull/21703
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
2018-07-13 20:37:05 -07:00
..
dnt_helper.js benchmark,build,doc,lib,src,test: correct typos 2017-03-03 16:29:19 -05:00
sh_javascript.min.js doc: fix 404s for syntax highlighting js 2015-01-15 10:09:24 -08:00
sh_main.js doc: fix 404s for syntax highlighting js 2015-01-15 10:09:24 -08:00
sh.css doc: update style for iojs 2015-01-12 13:44:50 -08:00
style.css doc: add "Edit on GitHub" link 2018-07-13 20:37:05 -07:00