Skip to content

Commit 72957b6

Browse files
committed
awesome nav plugin added
1 parent 5a941b0 commit 72957b6

3 files changed

Lines changed: 20 additions & 73 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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
title: Home
2+
nav:
3+
- Home: index.md
4+
- Code: Code
5+
- Concepts: Concepts
6+
- Packages: Packages
7+
- Streamlit: Streamlit

mkdocs.yml

Lines changed: 12 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -7,80 +7,24 @@ repo_name: Python
77
repo_url: https://github.com/NodesAutomations/Python
88
edit_uri: edit/main/docs/
99

10-
# Navigation Tree
11-
nav:
12-
- Home:
13-
- index.md
14-
- Introduction: Introduction.md
15-
- Installation: Installation.md
16-
- Virtual Environments: Virtual Environments.md
17-
- Type Check: Type Check.md
18-
- Deployments: Deployments.md
19-
- Jupyter Notebooks: Jupiter Notebooks.md
20-
- Licensing: Licensing.md
21-
- Packages:
22-
- Packages/index.md
23-
- CustomTkinter: Packages/CustomTkinter.md
24-
- Doxctpl: Packages/Doxctpl.md
25-
- Matplotlib: Packages/Matplotlib.md
26-
- OpenPyXL: Packages/OpenPyXL.md
27-
- Pandas: Packages/Pandas.md
28-
- Pathlib: Packages/Pathlib.md
29-
- PyQt: Packages/PyQT.md
30-
- pyRevit: Packages/pyRevit.md
31-
- PySimpleGUI: Packages/PySimpleGUI.md
32-
- Tkinter: Packages/Tkinter.md
33-
- xlwings: Packages/xlwings.md
34-
- Code:
35-
- Code/index.md
36-
- Access Modifiers: Code/Access Modifier.md
37-
- Classes: Code/Class.md
38-
- Conditional Statements: Code/Conditional Statements.md
39-
- CSV Files: Code/CSV file.md
40-
- Data Validation: Code/Data Validation.md
41-
- Decorators: Code/Decorators.md
42-
- Dictionaries: Code/Dictionary.md
43-
- Enums: Code/Enum.md
44-
- Error Handling: Code/Error Handling.md
45-
- File I/O: Code/File IO.md
46-
- Functions: Code/Functions.md
47-
- Get Inputs: Code/Get Inputs.md
48-
- Imports: Code/Import.md
49-
- Lambda Functions: Code/Lamda Functions.md
50-
- Lists: Code/List.md
51-
- Loops: Code/Loops.md
52-
- Map: Code/Map.md
53-
- Modules: Code/Module.md
54-
- Operators: Code/Operators.md
55-
- OS Module: Code/OS module.md
56-
- Sets: Code/Set.md
57-
- Strings: Code/String.md
58-
- Type Hinting: Code/Type Hinting.md
59-
- Variables: Code/Variables.md
60-
- Streamlit:
61-
- Streamlit/index.md
62-
- Layout: Streamlit/Streamlit Layout.md
63-
- Workflow: Streamlit/Streamlit workflow.md
64-
6510
# Theme
6611
theme:
6712
name: material
6813
logo: assets/favicon.png
6914
favicon: assets/favicon.png
7015
palette:
71-
# Palette toggle for dark mode
16+
- scheme: default
17+
primary: indigo
18+
accent: indigo
19+
toggle:
20+
icon: material/brightness-7
21+
name: Switch to dark mode
7222
- scheme: slate
7323
primary: black
7424
accent: indigo
7525
toggle:
7626
icon: material/brightness-4
7727
name: Switch to light mode
78-
- scheme: default
79-
primary: black
80-
accent: indigo
81-
toggle:
82-
icon: material/brightness-7
83-
name: Switch to dark mode
8428
features:
8529
- content.action.edit # Allows "Edit on GitHub" links
8630
- content.action.view # Allows "View on GitHub" links
@@ -93,6 +37,10 @@ theme:
9337
edit: material/pencil
9438
view: material/eye
9539

40+
plugins:
41+
- search
42+
- awesome-nav
43+
9644
# Extensions
9745
markdown_extensions:
9846
- admonition # for Callout boxes
@@ -113,16 +61,6 @@ markdown_extensions:
11361
- pymdownx.tasklist: # List extensions
11462
custom_checkbox: true
11563

116-
# Extra JavaScript for KaTeX
117-
extra_javascript:
118-
- javascripts/katex.js
119-
- https://unpkg.com/katex@0/dist/katex.min.js
120-
- https://unpkg.com/katex@0/dist/contrib/auto-render.min.js
121-
122-
# Extra CSS for KaTeX
123-
extra_css:
124-
- https://unpkg.com/katex@0/dist/katex.min.css
125-
12664
# Copyright
12765
copyright: Copyright © 2025 Nodes Automations
12866

@@ -138,3 +76,5 @@ extra:
13876
link: https://www.linkedin.com/in/vivekpatel-nodesautomations/
13977
- icon: fontawesome/brands/github
14078
link: https://github.com/orgs/NodesAutomations
79+
80+

0 commit comments

Comments
 (0)