Skip to content

Commit 1f5e095

Browse files
committed
Mkdocs updated with awesome nav plugin
1 parent 1e203e9 commit 1f5e095

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
path: ~/.cache
2828
restore-keys: |
2929
mkdocs-material-
30-
- run: pip install mkdocs-material
30+
- run: pip install mkdocs-material mkdocs-awesome-nav
3131
- run: mkdocs gh-deploy --force

docs/.nav.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
preserve_directory_names: true
2+
nav:
3+
- Home:
4+
- index.md
5+
- Typography.md
6+
- Configuration.md

mkdocs.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ repo_name: Template_MkDocs
77
repo_url: https://github.com/NodesAutomations/Template_MkDocs
88
edit_uri: edit/main/docs/
99

10-
# Navigation Tree
11-
nav:
12-
- Home:
13-
- index.md
14-
- Typography: Typography.md
15-
- Configuration: Configuration.md
16-
1710
# Theme
1811
theme:
1912
name: material
@@ -44,6 +37,10 @@ theme:
4437
repo: fontawesome/brands/git-alt
4538
edit: material/pencil
4639
view: material/eye
40+
41+
plugins:
42+
- search
43+
- awesome-nav
4744

4845
# Extensions
4946
markdown_extensions:

0 commit comments

Comments
 (0)