Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to docsy v0.8.0-49-g621fb34, prep for v0.9.0, streamline footer-center page + copyright date range #3967

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/cncf/docsy.git
docsy-pin = v0.8.0-21-g435b2e0
docsy-pin = v0.8.0-49-g621fb34
[submodule "content-modules/opentelemetry-specification"]
path = content-modules/opentelemetry-specification
url = https://github.com/open-telemetry/opentelemetry-specification.git
Expand Down
4 changes: 4 additions & 0 deletions assets/scss/_external_link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ a.external-link:after {
@include external-link-icon();
}

.td-footer a.external-link:after {
display: none !important;
}

// Can't quite use this yet since (1) breadcrumbs currently use external links,
// (2) we can't currently easily turn this off for footer icons.
//
Expand Down
4 changes: 2 additions & 2 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@
}
}

.td-page-meta--child {
.td-page-meta__child {
display: none !important;
}

.otel-docs-spec {
.td-page-meta--edit {
.td-page-meta__edit {
display: none !important;
}
}
Expand Down
8 changes: 5 additions & 3 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ outputs:
section: [HTML]

params:
copyright: >-
The OpenTelemetry Authors | Documentation Distributed under CC BY 4.0 |
copyright:
authors: >-
OpenTelemetry Authors | Docs [CC BY
4.0](https://creativecommons.org/licenses/by/4.0)
from_year: 2019
tagline: Effective observability requires high-quality telemetry
sub_tagline: >-
**OpenTelemetry** makes robust, portable telemetry a built-in feature of
Expand All @@ -72,7 +75,6 @@ params:
- img/social/logo-wordmark-001.png

ui:
footer_about_disable: true
navbar_logo: true
navbar_translucent_over_cover_disable: true
sidebar_menu_compact: true
Expand Down
1 change: 1 addition & 0 deletions layouts/_default/_markup/render-heading.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ template "_default/_markup/td-render-heading.html" . }}
8 changes: 4 additions & 4 deletions static/refcache.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@
"StatusCode": 206,
"LastSeen": "2024-01-30T06:06:13.672811-05:00"
},
"https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js": {
"StatusCode": 206,
"LastSeen": "2024-01-18T19:55:45.920342-05:00"
},
"https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/index.min.js": {
"StatusCode": 206,
"LastSeen": "2024-01-08T12:17:27.412252+01:00"
Expand Down Expand Up @@ -507,6 +503,10 @@
"StatusCode": 206,
"LastSeen": "2024-01-22T11:00:04.617082+01:00"
},
"https://creativecommons.org/licenses/by/4.0": {
"StatusCode": 206,
"LastSeen": "2024-02-08T18:57:44.500266-05:00"
},
"https://cri-o.io/": {
"StatusCode": 206,
"LastSeen": "2024-01-30T06:05:58.139233-05:00"
Expand Down
2 changes: 1 addition & 1 deletion themes/docsy
Submodule docsy updated 45 files
+26 −0 .github/ISSUE_TEMPLATE/bug.md
+9 −0 .github/ISSUE_TEMPLATE/config.yml
+7 −0 .github/ISSUE_TEMPLATE/enhancement.md
+1 −0 .github/workflows/smoke.yaml
+2 −3 .github/workflows/test.yaml
+83 −12 CHANGELOG.md
+0 −49 assets/js/anchor.js
+24 −0 assets/scss/_content.scss
+9 −0 assets/scss/_pageinfo.scss
+5 −5 assets/scss/_sidebar-toc.scss
+4 −2 assets/scss/_sidebar-tree.scss
+0 −1 assets/scss/_variables.scss
+17 −1 assets/scss/main.scss
+15 −0 assets/scss/support/_mixins.scss
+8 −0 layouts/_default/_markup/td-render-heading.html
+1 −0 layouts/blog/content.html
+8 −37 layouts/partials/footer.html
+15 −0 layouts/partials/footer/center.html
+41 −0 layouts/partials/footer/copyright.html
+5 −0 layouts/partials/footer/left.html
+9 −0 layouts/partials/footer/links.html
+5 −0 layouts/partials/footer/right.html
+2 −2 layouts/partials/page-meta-lastmod.html
+7 −5 layouts/partials/page-meta-links.html
+4 −12 layouts/partials/scripts.html
+15 −12 layouts/partials/scripts/mermaid.html
+6 −2 layouts/shortcodes/blocks/cover.html
+1 −2 layouts/shortcodes/blocks/feature.html
+7 −5 package.json
+1 −0 theme.toml
+13 −4 tools/make-site.sh
+0 −0 userguide/assets/scss/_styles_project.scss
+16 −10 userguide/content/en/docs/adding-content/content.md
+35 −19 userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md
+12 −4 userguide/content/en/docs/adding-content/iconsimages.md
+36 −12 userguide/content/en/docs/adding-content/lookandfeel.md
+29 −1 userguide/content/en/docs/adding-content/navigation.md
+43 −18 userguide/content/en/docs/adding-content/repository-links.md
+42 −15 userguide/content/en/docs/adding-content/search.md
+1 −0 userguide/content/en/docs/adding-content/shortcodes/index.md
+36 −12 userguide/content/en/docs/adding-content/versioning.md
+8 −7 userguide/content/en/docs/get-started/basic-configuration.md
+26 −18 userguide/content/en/docs/language/_index.md
+5 −1 userguide/hugo.yaml
+4 −0 userguide/layouts/_default/_markup/render-heading.html
Loading