Skip to content

Commit d405961

Browse files
authored
Hugo docs: Allow for quick doc updates using the edit button (#6285)
Enable the edit button next to the prev/next buttons in the topbar: `editURL` enables to editing (using your fork+new PR) on GitHub.com
2 parents e67b9fc + 29380f6 commit d405961

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/hugo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ home = [ "HTML", "RSS", "PRINT"]
2929
section = [ "HTML", "RSS", "PRINT"]
3030

3131
[params]
32+
editURL = 'https://github.com/xapi-project/xen-api/edit/master/doc/content/${FilePath}'
3233
# Enable the theme variant selector, default to auto:
3334
themeVariant = [
3435
"auto",

0 commit comments

Comments
 (0)