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:
parent
e5e2c8f665
commit
f11e31c342
@ -54,6 +54,10 @@ const siteConfig = {
|
|||||||
// Add custom scripts here that would be placed in <script> tags.
|
// Add custom scripts here that would be placed in <script> tags.
|
||||||
scripts: ['https://buttons.github.io/buttons.js'],
|
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.
|
// On page navigation for the current documentation page.
|
||||||
onPageNav: 'separate',
|
onPageNav: 'separate',
|
||||||
// No .html extensions for paths.
|
// No .html extensions for paths.
|
||||||
|
Loading…
Reference in New Issue
Block a user