diff options
| author | Eric Engestrom <eric@igalia.com> | 2025-10-22 09:23:34 +0200 |
|---|---|---|
| committer | Eric Engestrom <eric@igalia.com> | 2025-10-22 09:23:34 +0200 |
| commit | 4ab65cdaa4c9ea5c06a0583405a839e6583c48a8 (patch) | |
| tree | 241c39d56e9fc33015780bc94919d3ded8f56a2b /docs | |
| parent | efbecd93baa35b4bbeb5f370893865568a577e6e (diff) | |
docs: update/fix vk spec urls
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37993>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_exts/formatting.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_exts/formatting.py b/docs/_exts/formatting.py index 97787f502fb..7379609c3b4 100644 --- a/docs/_exts/formatting.py +++ b/docs/_exts/formatting.py @@ -24,7 +24,7 @@ def ext_role(name, rawtext, text, lineno, inliner, options={}, content=[]): parts = ext.split('_', 2) if parts[0] == 'VK': - full_url = f'https://registry.khronos.org/vulkan/specs/latest/man/html/{ext}.html' + full_url = f'https://docs.vulkan.org/refpages/latest/refpages/source/{ext}.html' elif parts[0] == 'GL': full_url = f'https://registry.khronos.org/OpenGL/extensions/{parts[1]}/{parts[1]}_{parts[2]}.txt' else: @@ -37,7 +37,7 @@ def vkfeat_role(name, rawtext, text, lineno, inliner, options={}, content=[]): text = utils.unescape(text) has_explicit_title, title, ext = split_explicit_title(text) - full_url = f'https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#features-{ext}' + full_url = f'https://docs.vulkan.org/spec/latest/chapters/features.html#features-{ext}' pnode = nodes.reference(title, title, internal=False, refuri=full_url) return [pnode], [] |