From ecc128e3302323593c84d270fa8ae42d76415d00 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 22 Jan 2025 11:16:25 +0100 Subject: [PATCH] docs: update url to vulkan features & extensions Fixes the nightly linkcheck. Part-of: --- docs/_exts/formatting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_exts/formatting.py b/docs/_exts/formatting.py index ad40a7bd3a7..97787f502fb 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/1.3-extensions/man/html/{ext}.html' + full_url = f'https://registry.khronos.org/vulkan/specs/latest/man/html/{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/1.3-extensions/html/vkspec.html#features-{ext}' + full_url = f'https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#features-{ext}' pnode = nodes.reference(title, title, internal=False, refuri=full_url) return [pnode], []