Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Verified Commit 7c169c00 authored by Ayush Singh's avatar Ayush Singh
Browse files

Update instructions to use venv-build-env


- Also change venv name to .venv since zsh scripts to auto load venv
  assume this path by default

Signed-off-by: default avatarAyush Singh <ayushdevel1325@gmail.com>
parent 1226c966
Branches
Tags
No related merge requests found
......@@ -735,9 +735,7 @@ some 6G bytes.
imagemagick-6.q16 librsvg2-bin webp \
texlive-full texlive-latex-extra texlive-fonts-extra \
fonts-freefont-otf fonts-dejavu fonts-dejavu-extra fonts-freefont-ttf
bone$ python3 -m venv .venv
bone$ source .venv/bin/activate
bone$ pip install -r requirements.txt
bone$ ./venv-build-env.sh
These instructions came from `lorforlinux
<https://beagleboard.slack.com/archives/C8S7EKZC2/p1684940872699269>`_
......
......@@ -40,6 +40,7 @@ extensions = [
"sphinx.ext.imgconverter",
"sphinx.ext.graphviz",
"sphinx.ext.todo",
"sphinx.ext.autodoc",
"sphinx_tabs.tabs",
"breathe",
"sphinx_copybutton",
......
#!/bin/sh
# Source this script like `. ./venv-build-env.sh`
if [ ! -e ./sphinx-env ]; then
python3 -m venv sphinx-env
if [ ! -e ./.venv ]; then
python3 -m venv .venv
fi
source ./sphinx-env/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install sphinx==5.3.0 sphinx-rtd-theme sphinx_design sphinx-tabs sphinxcontrib.svg2pdfconverter sphinx-reredirects
python3 -m pip install sphinxcontrib-images sphinx-copybutton
python3 -m pip install breathe exhale
python3 -m pip install graphviz
source ./.venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment