Skip to content

Commit a4183e6

Browse files
committed
[infra] Upgrade Docsy and sync layout
1 parent 4c5ca8e commit a4183e6

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[submodule "themes/docsy"]
33
path = themes/docsy
44
url = https://github.com/google/docsy.git
5-
docsy-pin = v0.11.0-34-gef59ee75
5+
docsy-pin = v0.11.0-37-ga854cb31
66
docsy-note = "2024-04-01 Switching to google/docsy.git from cncf/docsy.git since we don't have any CNCF customizations."
77
docsy-reminder = "Ensure that any tag referenced by `docsy-pin` is present in the remote repo (url), otherwise add (push) the tags to the repo."
88
[submodule "content-modules/opentelemetry-specification"]

layouts/docs/baseof.html

+7-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
{{ $lang := partial "i18n/lang.html" . -}}
33

44
<!doctype html>
5-
<html itemscope itemtype="http://schema.org/WebPage" lang="{{ $lang }}" class="no-js">
5+
<html itemscope itemtype="http://schema.org/WebPage"
6+
{{- with .Site.Language.LanguageDirection }} dir="{{ . }}" {{- end -}}
7+
{{ with .Site.Language.Lang }} lang="{{ $lang }}" {{- end }} {{/**/ -}}
8+
class="no-js">
69
<head>
710
{{ partial "head.html" . }}
811
</head>
@@ -23,7 +26,9 @@
2326
</aside>
2427
<main class="col-12 col-md-9 col-xl-8 ps-md-5" role="main">
2528
{{ partial "version-banner.html" . }}
26-
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
29+
{{ if not (.Param "ui.breadcrumb_disable") -}}
30+
{{ partial "breadcrumb.html" . -}}
31+
{{ end -}}
2732
{{ block "main" . }}{{ end }}
2833
</main>
2934
</div>

0 commit comments

Comments
 (0)