Skip to content

Commit

Permalink
Fix deprecation warnings and update CSS (#5741)
Browse files Browse the repository at this point in the history
* Fix deprecation warnings and update CSS

* fix order of right nav in blog
  • Loading branch information
ReToCode authored Nov 5, 2023
1 parent 828dcc9 commit 4727b76
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 13 deletions.
6 changes: 4 additions & 2 deletions blog/config/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ nav:
- Knative CLI: /docs/client/
- Code samples: /docs/samples/
- Reference: /docs/reference/security/
- Community: /docs/community/
- About: /docs/about/testimonials/
#####################################################
# Blog
#####################################################
Expand Down Expand Up @@ -97,3 +95,7 @@ nav:
- events/install-fest-04-2022.md
- events/knative-at-kubecon-eu-2019.md
- events/knative-at-kubecon-seattle.md
#####################################################
# keep the same order as on the main page
- About: /docs/about/testimonials/
- Community: /docs/community/
4 changes: 2 additions & 2 deletions blog/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ markdown_extensions:
# - mdx_include:
# base_path: docs
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- attr_list
- meta
- pymdownx.superfences
Expand Down
10 changes: 5 additions & 5 deletions config/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,15 +305,15 @@ nav:
- Reference:
- Security: reference/security/README.md
- Release notes: reference/relnotes/README.md
- Community:
- How To Get Involved: community/README.md
- Contribute to Knative: community/contributing.md
- Community Rules and Practices: community/governance.md
- Blog: /blog/
- About:
- Testimonials: about/testimonials.md
- Case studies:
- deepc: about/case-studies/deepc.md
- Outfit7: about/case-studies/outfit7.md
- Puppet: about/case-studies/puppet.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
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
template: home.html
title: Home
hide:
- navigation
- toc
hide_next: true
---
5 changes: 4 additions & 1 deletion docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,13 @@ a.md-header__button.md-logo img {
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(2),
.md-tabs__list li:nth-last-child(3) {
float: right;
background-color: #024c93;
color: white;
padding: 0 2em;
Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ markdown_extensions:
# - mdx_include:
# base_path: docs
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- attr_list
- meta
- pymdownx.superfences
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdocs-material==8.2.7
mkdocs-material<10.0
mkdocs-exclude>=1.0
mkdocs-macros-plugin>=0.5.12
mkdocs-awesome-pages-plugin>=2.5
Expand Down

0 comments on commit 4727b76

Please sign in to comment.