From 558d5966bdc6e05d2d1b8e99f2d060723b0478ae Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 31 Jul 2020 12:47:02 +0100 Subject: [PATCH 1/2] docs: fix broken source code links --- docs/reference.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference.html b/docs/reference.html index eefc5582..910c0dce 100644 --- a/docs/reference.html +++ b/docs/reference.html @@ -14,7 +14,7 @@

{{ export.name }}

{% for source in export.sources %} Defined in: - + {{ source.fileName }}:{{ source.line }} {% endfor %} From 6a7c4e2f91e4fda920b789278aa900e4ce862936 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 31 Jul 2020 12:53:57 +0100 Subject: [PATCH 2/2] docs: fix up `typeParameter` cases in signature functions --- docs/_includes/type.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/_includes/type.html b/docs/_includes/type.html index 5fa9c6fb..90485fc3 100644 --- a/docs/_includes/type.html +++ b/docs/_includes/type.html @@ -14,6 +14,10 @@ {%- when "reflection" %} {%- assign type = type.declaration %} {%- include type.html %} + {%- when "typeParameter" %} + {%- assign name = type.name %} + {%- assign type = type.constraint %} + {{- ''}}{{ name }} {%- else %} {%- if type.signatures %} {%- assign rootType = type %}