This repo is to host a tutorial documentation site for running generative AI models on NVIDIA Jetson devices.
The auto generated documentation is hosted on the following, using their CI/CD feature to automatically generate/update the HTML documentation site upon new commit:
https://squidfunk.github.io/mkdocs-material/getting-started/
sudo apt install -y docker.io
sudo docker pull squidfunk/mkdocs-materialStart development server on http://localhost:8000
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material-
Install Python 3.8+ and pip (if not already installed):
- Windows: Download from python.org or use Microsoft Store
-
Install MkDocs Material and dependencies:
pip install mkdocs-material pip install mkdocs-redirects pip install beautifulsoup4 pip install lxml
Start development server on http://localhost:8000
mkdocs servemkdocs builddocker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material build
pip install beautifulsoup4
pip install lxml
python3 ./scripts/duplicate_site_with_postprocess.py ./site ./site_postprocessed
sudo apt install python3-livereload
livereload ./site_postprocessedWindows:
- If
mkdocscommand is not found, ensure Python Scripts directory is in your PATH - Use
python -m mkdocs serveif the direct command doesn't work - For corporate networks, you may need to use pip with proxy:
pip install --proxy http://proxy:port package-name
Jetson:
- If you get permission errors, use
pip install --userto install packages locally - Ensure you have sufficient disk space for the Python packages
If you get "docker: Got permission denied while trying to connect to the Docker daemon socket at ..." error, issue
sudo usermod -aG docker $USER; newgrp dockerto get around with the issue.