From 33fdf7fe5dc81db61a797a714eec1e7141310e66 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 30 Apr 2024 04:02:31 -0400 Subject: [PATCH] Upgrade Docsy and switch to Chroma classes --- .gitmodules | 2 +- assets/scss/_styles_project.scss | 1 + hugo.yaml | 3 +-- themes/docsy | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitmodules b/.gitmodules index 2d0b7d282306..08bed3731fc0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "themes/docsy"] path = themes/docsy url = https://github.com/google/docsy.git - docsy-pin = v0.9.1-17-gb077a74 + docsy-pin = v0.9.1-47-ge59bb58 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"] diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index bb65387e5f6e..3f9e860a46cf 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -4,6 +4,7 @@ @import 'registry'; @import 'tabs'; @import 'external_link'; +@import 'chroma/tango'; .td-home { .otel-logo { diff --git a/hugo.yaml b/hugo.yaml index efb4f86f01c7..2a6a49d67a86 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -33,8 +33,7 @@ markup: renderer: unsafe: true highlight: - # noClasses: false - style: tango + noClasses: false # Netlify _redirects file mediaTypes: diff --git a/themes/docsy b/themes/docsy index b077a74d38c8..e59bb5888a62 160000 --- a/themes/docsy +++ b/themes/docsy @@ -1 +1 @@ -Subproject commit b077a74d38c833586361e7d735672166818a64cf +Subproject commit e59bb5888a62682aa9695dee63bf854a4a505206