Skip to content

Commit

Permalink
docs: keep top tabs always visible and hide footer
Browse files Browse the repository at this point in the history
* per default, navigation tabs disappear when you scroll down the page,
  which may confuse some users
* hide "Made with Material" footer which is visible when scrolling to
  the bottom, which takes up space and may make the left menu scrollbar
  to appear, and thus reduce usability.
  • Loading branch information
ukkopahis committed Jan 28, 2022
1 parent 1fc5105 commit d38a122
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* hide "Made with Material" footer */
.md-footer-meta {
display: none;
}
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ theme:
features:
- tabs
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections

plugins:
Expand Down Expand Up @@ -49,6 +50,9 @@ plugins:
Menu-System.md: Developers/Menu-System.md
Contributing-Services.md: Developers/index.md

extra_css:
- style.css

markdown_extensions:
- admonition
- pymdownx.superfences
Expand Down

0 comments on commit d38a122

Please sign in to comment.