We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b7f20d commit d6cae09Copy full SHA for d6cae09
_layouts/api.html
@@ -6,10 +6,11 @@
6
{%- assign indices = unsortedindices | sort: "namespace" -%}
7
{%- assign branches = site.data.branchindex -%}
8
{%- assign types = indices | map: "type" | uniq -%}
9
+{% assign clean_ref = page.ref | remove: '.' %}
10
{%- if page.type == "extension" -%}
- {%- assign ref = site.data.extensions[page.ref] -%}
11
+ {%- assign ref = site.data.extensions[clean_ref] -%}
12
{%- else -%}
- {%- assign ref = site.data.ref[page.branch][page.ref] -%}
13
+ {%- assign ref = site.data.ref[page.branch][clean_ref] -%}
14
{%- endif -%}
15
16
{%- if page.url contains branch -%}
0 commit comments