From bd9196c83984076f993155ea92c0cf7df338dc79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 11 Sep 2017 13:21:30 +0200 Subject: [PATCH] m.gl: fix link target of :glfn:. --- pelican-plugins/m/gl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican-plugins/m/gl.py b/pelican-plugins/m/gl.py index 56018eda..3b3f48f2 100644 --- a/pelican-plugins/m/gl.py +++ b/pelican-plugins/m/gl.py @@ -15,7 +15,7 @@ def glext(name, rawtext, text, lineno, inliner, options={}, content=[]): def glfn(name, rawtext, text, lineno, inliner, options={}, content=[]): title, fn = parse_link(text) if not title: title = "gl{}()".format(fn) - url = "https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/gl{}.xhtml".format(name) + url = "https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/gl{}.xhtml".format(fn) node = nodes.reference(rawtext, title, refuri=url, **options) return [node], [] -- 2.30.2