0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2025-01-03 05:10:05 -05:00

Sphinx: add venv instructions

This commit is contained in:
Brecht Van Lommel 2023-05-15 12:28:55 +02:00
parent b00193055e
commit d32b0d4ee1

View file

@ -8,14 +8,15 @@ The template is adapted from the Blender manual to support the same extensions.
Install dependencies. Install dependencies.
pip3 install -r requirements.txt python3 -m venv venv
./venv/bin/pip3 install -r requirements.txt
Add to Gitea app.ini. Add to Gitea app.ini.
[markup.restructuredtext] [markup.restructuredtext]
ENABLED = true ENABLED = true
FILE_EXTENSIONS = .rst 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] [markup.sanitizer.restructuredtext]
ELEMENT = div ELEMENT = div