feat(docs-infra): add "suggest edits" feature to all docs (#24378)

PR Close #24378
This commit is contained in:
Martin Sikora
2018-06-08 17:41:30 +02:00
committed by Misko Hevery
parent 06d04002fd
commit 9533cc9809
6 changed files with 17 additions and 8 deletions

View File

@ -1,4 +1,9 @@
{% import "githubLinks.html" as github -%}
{% if doc.title %}{$ ('# ' + doc.title.trim()) | marked $}{% endif %}
<div class="page-actions">
<a href="{$ github.githubEditHref(doc, versionInfo) $}" aria-label="Suggest Edits" title="Suggest Edits"><i class="material-icons" aria-hidden="true" role="img">mode_edit</i></a>
</div>
<div class="content">
{$ doc.description | marked $}
</div>