Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e3a930

Browse files
authored
Remove navigation tabs, add toggle to hide sidebar (#1440)
1 parent82a06ff commit1e3a930

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

‎.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
-name:Set up Python
2020
uses:actions/setup-python@v5.2.0
2121
with:
22-
python-version:'3.8'
22+
python-version:'3.11'
2323
-name:Install mkdocs-material
2424
run:|
2525
scripts/install-mkdocs.sh

‎mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ theme:
2222
icon:
2323
repo:fontawesome/brands/github
2424
features:
25-
-navigation.tabs
2625
-toc.integrate
2726
-search.suggest
2827
-content.code.copy
@@ -57,6 +56,8 @@ markdown_extensions:
5756
permalink:true
5857

5958
plugins:
59+
-toggle-sidebar:
60+
toggle_button:all
6061
-mkdocs-simple-hooks:
6162
hooks:
6263
on_env:"hooks:on_env"

‎scripts/install-mkdocs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
pip install \
44
"mkdocs-material>=9.0.2" \
5+
mkdocs-toggle-sidebar-plugin \
56
mkdocs-macros-plugin \
67
mkdocs-literate-nav \
78
mkdocs-git-authors-plugin \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp