Move docs requirements to docs root folder

This commit is contained in:
Veronica Berglyd Olsen
2025-02-02 21:34:43 +01:00
parent a87e8289f7
commit 4cbbe5f2e3
5 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Packages (pip) - name: Install Packages (pip)
run: pip install -r docs/source/requirements.txt run: pip install -r docs/requirements.txt
- name: Build Assets - name: Build Assets
run: | run: |
@@ -1,6 +1,7 @@
sphinx-book-theme
sphinx>=5.0
sphinx-favicon
sphinx-design
pygments>=2.7
docutils>=0.17.1 docutils>=0.17.1
pygments>=2.7
sphinx-book-theme
sphinx-design
sphinx-favicon
sphinx-intl
sphinx>=5.0
+1 -1
View File
@@ -138,7 +138,7 @@ packages from PyPi:
.. code-block:: bash .. code-block:: bash
pip install -r docs/source/requirements.txt pip install -r docs/requirements.txt
The documentation can then be built from the root folder in the source code by running: The documentation can then be built from the root folder in the source code by running:
+1 -1
View File
@@ -17,7 +17,7 @@ if [ ! -d $ENVPATH ]; then
python3 -m venv $ENVPATH python3 -m venv $ENVPATH
fi fi
source $ENVPATH/bin/activate source $ENVPATH/bin/activate
pip3 install -r docs/source/requirements.txt pip3 install -r docs/requirements.txt
python3 pkgutils.py build-assets python3 pkgutils.py build-assets
deactivate deactivate
+1 -1
View File
@@ -16,7 +16,7 @@ if [ ! -d $ENVPATH ]; then
python3 -m venv $ENVPATH python3 -m venv $ENVPATH
fi fi
source $ENVPATH/bin/activate source $ENVPATH/bin/activate
pip3 install -r docs/source/requirements.txt pip3 install -r docs/requirements.txt
python3 pkgutils.py build-assets python3 pkgutils.py build-assets
deactivate deactivate