Update docs generators to include proper edit on github links (#3651)

Ref: https://github.com/ghostty-org/website/pull/197

The "Edit on Github" links currently on
[ghostty.org](https://ghostty.org/) link to the downstream MDX files.
This has lead to multiple folks editing the downstream MDX files.

Preview:

https://website-git-edit-on-github-link-override-ghostty.vercel.app/docs/config/reference#auto-update-channel
This commit is contained in:
Mitchell Hashimoto
2024-12-27 21:05:27 -08:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ pub fn genKeybindActions(writer: anytype) !void {
\\---
\\title: Keybinding Action Reference
\\description: Reference of all Ghostty keybinding actions.
\\editOnGithubLink: https://github.com/ghostty-org/ghostty/edit/main/src/input/Binding.zig
\\---
\\
\\This is a reference of all Ghostty keybinding actions.

View File

@ -13,6 +13,7 @@ pub fn genConfig(writer: anytype) !void {
\\---
\\title: Reference
\\description: Reference of all Ghostty configuration options.
\\editOnGithubLink: https://github.com/ghostty-org/ghostty/edit/main/src/config/Config.zig
\\---
\\
\\This is a reference of all Ghostty configuration options. These