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:
parent
b00193055e
commit
d32b0d4ee1
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue