Adds "Edit this Doc" button for each document
* Adds "Edit this Doc" button for each document
closes
* Fix editUrl
@@ -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.
