Skip to content

Commit

Permalink
Hugo docs: Allow for quick doc updates using the edit button (#6285)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lindig authored Feb 10, 2025
2 parents e67b9fc + 29380f6 commit d405961
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ home = [ "HTML", "RSS", "PRINT"]
section = [ "HTML", "RSS", "PRINT"]

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

0 comments on commit d405961

Please sign in to comment.