From ae6f46acce10a2d9e53189ce7a370db8f7a19c76 Mon Sep 17 00:00:00 2001 From: Jason Kridner <jkridner@beagleboard.org> Date: Sat, 28 Oct 2023 14:04:09 -0400 Subject: [PATCH] Add venv-build-env.sh ```shell-session $ source ./venv-build-env.sh $ cd projects/librobotcontrol/docs $ doxygen $ cd ../../.. $ sphinx-build -M html . public ``` --- venv-build-env.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 venv-build-env.sh diff --git a/venv-build-env.sh b/venv-build-env.sh new file mode 100755 index 00000000..393b2045 --- /dev/null +++ b/venv-build-env.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# Source this script +if [ ! -e ./sphinx-env ]; then + python3 -m venv sphinx-env +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 +python3 -m pip install breathe exhale -- GitLab