Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.5 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.5 KB

Jetson Generative AI Lab

Document generation status: example workflow

About this repo

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:

How to use this repo locally

MkDocs: Initial setup

https://squidfunk.github.io/mkdocs-material/getting-started/

sudo apt install -y docker.io
sudo docker pull squidfunk/mkdocs-material

Mkdocs: Start development server on http://localhost:8000

docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material

Test the post-processing

docker 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_postprocessed

Troubleshooting

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 docker to get around with the issue.