[release-1.12] Fix deprecation warnings and update CSS (#5748)

* Fix deprecation warnings and update CSS

* fix order of right nav in blog

---------

Co-authored-by: Reto Lehmann <retocode@icloud.com>
This commit is contained in:
Knative Prow Robot 2023-11-06 12:34:52 +00:00 committed by GitHub
parent 1ad1fe5695
commit d60c9ebe80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 13 deletions

View File

@ -9,8 +9,6 @@ nav:
- Knative CLI: /docs/client/ - Knative CLI: /docs/client/
- Code samples: /docs/samples/ - Code samples: /docs/samples/
- Reference: /docs/reference/security/ - Reference: /docs/reference/security/
- Community: /docs/community/
- About: /docs/about/testimonials/
##################################################### #####################################################
# Blog # Blog
##################################################### #####################################################
@ -96,3 +94,7 @@ nav:
- events/install-fest-04-2022.md - events/install-fest-04-2022.md
- events/knative-at-kubecon-eu-2019.md - events/knative-at-kubecon-eu-2019.md
- events/knative-at-kubecon-seattle.md - events/knative-at-kubecon-seattle.md
#####################################################
# keep the same order as on the main page
- About: /docs/about/testimonials/
- Community: /docs/community/

View File

@ -27,8 +27,8 @@ markdown_extensions:
# - mdx_include: # - mdx_include:
# base_path: docs # base_path: docs
- pymdownx.emoji: - pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg emoji_generator: !!python/name:material.extensions.emoji.to_svg
- attr_list - attr_list
- meta - meta
- pymdownx.superfences - pymdownx.superfences

View File

@ -305,10 +305,7 @@ nav:
- Reference: - Reference:
- Security: reference/security/README.md - Security: reference/security/README.md
- Release notes: reference/relnotes/README.md - Release notes: reference/relnotes/README.md
- Community: - Blog: /blog/
- How To Get Involved: community/README.md
- Contribute to Knative: community/contributing.md
- Community Rules and Practices: community/governance.md
- About: - About:
- Testimonials: about/testimonials.md - Testimonials: about/testimonials.md
- Case studies: - Case studies:
@ -316,4 +313,7 @@ nav:
- Outfit7: about/case-studies/outfit7.md - Outfit7: about/case-studies/outfit7.md
- Puppet: about/case-studies/puppet.md - Puppet: about/case-studies/puppet.md
- PNC Bank: about/case-studies/pnc.md - PNC Bank: about/case-studies/pnc.md
- Blog: /blog/ - Community:
- How To Get Involved: community/README.md
- Contribute to Knative: community/contributing.md
- Community Rules and Practices: community/governance.md

View File

@ -1,5 +1,8 @@
--- ---
template: home.html template: home.html
title: Home title: Home
hide:
- navigation
- toc
hide_next: true hide_next: true
--- ---

View File

@ -99,10 +99,13 @@ a.md-header__button.md-logo img {
font-weight: bold; font-weight: bold;
} }
.md-tabs__list li:nth-last-child(3) {
margin-left: auto;
}
.md-tabs__list li:nth-last-child(1), .md-tabs__list li:nth-last-child(1),
.md-tabs__list li:nth-last-child(2), .md-tabs__list li:nth-last-child(2),
.md-tabs__list li:nth-last-child(3) { .md-tabs__list li:nth-last-child(3) {
float: right;
background-color: #024c93; background-color: #024c93;
color: white; color: white;
padding: 0 2em; padding: 0 2em;

View File

@ -24,8 +24,8 @@ markdown_extensions:
# - mdx_include: # - mdx_include:
# base_path: docs # base_path: docs
- pymdownx.emoji: - pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg emoji_generator: !!python/name:material.extensions.emoji.to_svg
- attr_list - attr_list
- meta - meta
- pymdownx.superfences - pymdownx.superfences

View File

@ -1,4 +1,4 @@
mkdocs-material==8.2.7 mkdocs-material<10.0
mkdocs-exclude>=1.0 mkdocs-exclude>=1.0
mkdocs-macros-plugin>=0.5.12 mkdocs-macros-plugin>=0.5.12
mkdocs-awesome-pages-plugin>=2.5 mkdocs-awesome-pages-plugin>=2.5