@@ -11,7 +11,9 @@ The auto generated documentation is hosted on the following, using their CI/CD f
1111
1212## How to use this repo locally
1313
14- ### MkDocs: Initial setup
14+ ### Option 1: Docker Setup (Linux systems with Docker)
15+
16+ #### Initial setup
1517
1618https://squidfunk.github.io/mkdocs-material/getting-started/
1719
@@ -20,12 +22,39 @@ sudo apt install -y docker.io
2022sudo docker pull squidfunk/mkdocs-material
2123```
2224
23- ### Mkdocs: Start development server on http://localhost:8000
25+ #### Start development server on http://localhost:8000
2426
2527``` bash
2628docker run --rm -it -p 8000:8000 -v ${PWD} :/docs squidfunk/mkdocs-material
2729```
2830
31+ ### Option 2: Native Python Setup (Recommended for Windows)
32+
33+ #### Initial setup
34+
35+ 1 . ** Install Python 3.8+ and pip** (if not already installed):
36+ - Windows: Download from [ python.org] ( https://www.python.org/downloads/ ) or use Microsoft Store
37+
38+ 2 . ** Install MkDocs Material and dependencies** :
39+ ``` bash
40+ pip install mkdocs-material
41+ pip install mkdocs-redirects
42+ pip install beautifulsoup4
43+ pip install lxml
44+ ```
45+
46+ #### Start development server on http://localhost:8000
47+
48+ ``` bash
49+ mkdocs serve
50+ ```
51+
52+ #### Build the site
53+
54+ ``` bash
55+ mkdocs build
56+ ```
57+
2958### Test the post-processing
3059
3160``` bash
@@ -39,6 +68,19 @@ livereload ./site_postprocessed
3968
4069## Troubleshooting
4170
42- > If you get "docker: Got permission denied while trying to connect to the Docker daemon socket at ..." error,
71+ ### Native Python Setup Issues
72+
73+ ** Windows:**
74+ - If ` mkdocs ` command is not found, ensure Python Scripts directory is in your PATH
75+ - Use ` python -m mkdocs serve ` if the direct command doesn't work
76+ - For corporate networks, you may need to use pip with proxy: ` pip install --proxy http://proxy:port package-name `
77+
78+ ** Jetson:**
79+ - If you get permission errors, use ` pip install --user ` to install packages locally
80+ - Ensure you have sufficient disk space for the Python packages
81+
82+ ### Docker Setup Issues
83+
84+ > If you get "docker: Got permission denied while trying to connect to the Docker daemon socket at ..." error,
4385> issue ` sudo usermod -aG docker $USER; newgrp docker ` to get around with the issue.
4486
0 commit comments