diff --git a/sphinx/README.md b/sphinx/README.md index 48aae9e..4bcd44e 100644 --- a/sphinx/README.md +++ b/sphinx/README.md @@ -8,14 +8,15 @@ The template is adapted from the Blender manual to support the same extensions. Install dependencies. - pip3 install -r requirements.txt + python3 -m venv venv + ./venv/bin/pip3 install -r requirements.txt Add to Gitea app.ini. [markup.restructuredtext] ENABLED = true FILE_EXTENSIONS = .rst - RENDER_COMMAND = timeout 30s sudo -u sphinx python3 ./custom/sphinx/sphinx_to_html.py + RENDER_COMMAND = timeout 30s sudo -u sphinx ./custom/sphinx/venv/bin/python3 ./custom/sphinx/sphinx_to_html.py [markup.sanitizer.restructuredtext] ELEMENT = div