Skip to content

Commit

Permalink
Upgrade Docsy and sync layout (open-telemetry#6111)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Jan 29, 2025
1 parent 4c5ca8e commit e37dfc8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[submodule "themes/docsy"]
path = themes/docsy
url = https://github.com/google/docsy.git
docsy-pin = v0.11.0-34-gef59ee75
docsy-pin = v0.11.0-37-ga854cb31
docsy-note = "2024-04-01 Switching to google/docsy.git from cncf/docsy.git since we don't have any CNCF customizations."
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."
[submodule "content-modules/opentelemetry-specification"]
Expand Down
9 changes: 7 additions & 2 deletions layouts/docs/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
{{ $lang := partial "i18n/lang.html" . -}}

<!doctype html>
<html itemscope itemtype="http://schema.org/WebPage" lang="{{ $lang }}" class="no-js">
<html itemscope itemtype="http://schema.org/WebPage"
{{- with .Site.Language.LanguageDirection }} dir="{{ . }}" {{- end -}}
{{ with .Site.Language.Lang }} lang="{{ $lang }}" {{- end }} {{/**/ -}}
class="no-js">
<head>
{{ partial "head.html" . }}
</head>
Expand All @@ -23,7 +26,9 @@
</aside>
<main class="col-12 col-md-9 col-xl-8 ps-md-5" role="main">
{{ partial "version-banner.html" . }}
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
{{ if not (.Param "ui.breadcrumb_disable") -}}
{{ partial "breadcrumb.html" . -}}
{{ end -}}
{{ block "main" . }}{{ end }}
</main>
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/docsy

0 comments on commit e37dfc8

Please sign in to comment.