From 919523f31a5274b228d893bfcc0ce8b991629ea6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 9 Aug 2026 21:36:39 +0530 Subject: [PATCH] Link to code for shipped custom shaders --- docs/conf.py | 2 ++ docs/custom-shaders.rst | 3 +++ 2 files changed, 5 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index e48e65c57..5b2671241 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -215,6 +215,8 @@ extlinks = { 'iss': ('https://github.com/kovidgoyal/kitty/issues/%s', '#%s'), 'pull': ('https://github.com/kovidgoyal/kitty/pull/%s', '#%s'), 'disc': ('https://github.com/kovidgoyal/kitty/discussions/%s', '#%s'), + 'repo_folder': ('https://github.com/kovidgoyal/kitty/tree/master/%s', '#%s'), + 'repo_file': ('https://github.com/kovidgoyal/kitty/blob/master/%s', '#%s'), } diff --git a/docs/custom-shaders.rst b/docs/custom-shaders.rst index 0de795b56..44ea9afaf 100644 --- a/docs/custom-shaders.rst +++ b/docs/custom-shaders.rst @@ -14,6 +14,9 @@ for example:: custom_shaders inside-the-matrix +You can see the code for the custom shaders that ship with kitty :repo_folder:`here +`. + .. role:: small-dim(raw) :format: html :class: sd-text-muted small code literal