diff --git a/blog/config/nav.yml b/blog/config/nav.yml index ddaa942f5a4..c4632583fae 100644 --- a/blog/config/nav.yml +++ b/blog/config/nav.yml @@ -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 ##################################################### @@ -96,3 +94,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/ \ No newline at end of file diff --git a/blog/mkdocs.yml b/blog/mkdocs.yml index 350520718b7..412e5ff7cbe 100644 --- a/blog/mkdocs.yml +++ b/blog/mkdocs.yml @@ -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 diff --git a/config/nav.yml b/config/nav.yml index 9609661e314..5e236f55308 100644 --- a/config/nav.yml +++ b/config/nav.yml @@ -305,10 +305,7 @@ 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: @@ -316,4 +313,7 @@ nav: - 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 diff --git a/docs/index.md b/docs/index.md index d37b4a4c6cc..0ef46bccfbe 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,8 @@ --- template: home.html title: Home +hide: + - navigation + - toc hide_next: true --- diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index e7d7abce2c3..fdf9108d926 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -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; diff --git a/mkdocs.yml b/mkdocs.yml index 6bc76dbb307..6c90053e8e2 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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 diff --git a/requirements.txt b/requirements.txt index 14e7c77be17..debd31adb14 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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