Adds "Edit this Doc" button for each document (#2579)

* Adds "Edit this Doc" button for each document

closes #2578

* Fix editUrl

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
This commit is contained in:
Thad Guidry 2020-04-21 16:13:43 -05:00 committed by GitHub
parent e5e2c8f665
commit f11e31c342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,10 @@ const siteConfig = {
// Add custom scripts here that would be placed in <script> tags.
scripts: ['https://buttons.github.io/buttons.js'],
// URL for editing docs, usage example: editUrl + 'en/doc1.md'.
// If this field is omitted, there will be no "Edit this Doc" button for each document.
editUrl: 'https://github.com/OpenRefine/OpenRefine/edit/master/docs/src/',
// On page navigation for the current documentation page.
onPageNav: 'separate',
// No .html extensions for paths.