Skip to content

Commit

Permalink
Upgrade Docsy and switch to Chroma classes (#4396)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Apr 30, 2024
1 parent e6aa692 commit c180341
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
1 change: 1 addition & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@import 'registry';
@import 'tabs';
@import 'external_link';
@import 'chroma/tango';

.td-home {
.otel-logo {
Expand Down
3 changes: 1 addition & 2 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ markup:
renderer:
unsafe: true
highlight:
# noClasses: false
style: tango
noClasses: false

# Netlify _redirects file
mediaTypes:
Expand Down
2 changes: 1 addition & 1 deletion themes/docsy
Submodule docsy updated 43 files
+4 −1 .markdown-link-check.json
+1 −1 .vscode/cspell.json
+23 −3 CHANGELOG.md
+0 −1 assets/js/click-to-copy.js
+87 −0 assets/js/dark-mode.js
+0 −1 assets/scss/_alerts.scss
+10 −0 assets/scss/_code-dark.scss
+12 −7 assets/scss/_code.scss
+21 −5 assets/scss/_nav.scss
+4 −5 assets/scss/_pageinfo.scss
+1 −1 assets/scss/_search.scss
+2 −2 assets/scss/_sidebar-toc.scss
+8 −9 assets/scss/_sidebar-tree.scss
+8 −8 assets/scss/_taxonomy.scss
+5 −5 assets/scss/_variables.scss
+86 −0 assets/scss/chroma/_onedark.css
+86 −0 assets/scss/chroma/_tango.css
+2 −2 assets/scss/rtl/_main.scss
+5 −1 assets/scss/shortcodes/cards-pane.scss
+5 −5 assets/scss/shortcodes/tabbed-pane.scss
+1 −1 go.mod
+2 −2 go.sum
+1 −1 layouts/_default/content.html
+0 −43 layouts/_default/list.rss.xml
+1 −1 layouts/blog/content.html
+2 −1 layouts/partials/footer/copyright.html
+3 −3 layouts/partials/head.html
+5 −0 layouts/partials/navbar.html
+13 −9 layouts/partials/scripts.html
+6 −5 layouts/partials/section-index.html
+59 −0 layouts/partials/theme-toggler.html
+0 −16 layouts/shortcodes/card-code.html
+1 −1 layouts/shortcodes/card.html
+2 −2 package.json
+7 −3 tools/install-hugo.sh
+1 −0 userguide/assets/scss/_styles_project.scss
+108 −0 userguide/content/en/blog/2024/0.10.0.md
+58 −18 userguide/content/en/docs/adding-content/lookandfeel.md
+2 −2 userguide/content/en/docs/adding-content/shortcodes/index.md
+2 −2 userguide/content/en/docs/get-started/docsy-as-module/start-from-scratch.md
+12 −9 userguide/content/en/docs/get-started/other-options.md
+6 −1 userguide/hugo.yaml
+1 −1 userguide/package.json

0 comments on commit c180341

Please sign in to comment.