Update API ref link retrieval to support localized pages
parent
524a513f42
commit
f433940b81
|
@ -28,6 +28,8 @@
|
|||
<!-- Loop through sections -->
|
||||
{{- range $apiRefSection := $apiRefSections.Sections -}}
|
||||
{{- $apiRefDir := $apiRefSection.RelPermalink -}}
|
||||
{{- $fragmentApiRefDir := split $apiRefDir "/docs" -}}
|
||||
{{- $apiRefDir := printf "/docs%s" (index ($fragmentApiRefDir) 1) -}}
|
||||
{{- $apiReferenceFiles := site.GetPage $apiRefDir -}}
|
||||
|
||||
<!-- Loop through API reference files -->
|
||||
|
|
Loading…
Reference in New Issue