Skip to content

Commit

Permalink
Fix issue with docs workflow
Browse files Browse the repository at this point in the history
Use virtualenv to install needed dependencies

Signed-off-by: Chihurumnaya Ibiam <ibiamchihurumnaya@gmail.com>
  • Loading branch information
chimosky committed Apr 4, 2024
1 parent d2a9d6d commit d653ed3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- name: Install dependencies
run: |
# assume yes and do not ask for confirmation when installing deps using pacman
yes | pacman -Syu base-devel sudo git wget curl python-sphinx rsync python-pip --noconfirm
yes | pacman -Syu base-devel sudo git wget curl python-sphinx rsync python-virtualenv --noconfirm
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down
5 changes: 2 additions & 3 deletions ci/docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ show-green () {
if command -v makepkg &> /dev/null
then
# sphinx extensions

# sphinxcontrib.napolean
pip install sphinxcontrib-napoleon --user
python3 -m venv env
env/bin/pip install sphinxcontrib-napoleon

show-green "Cloning sugar-toolkit-gtk3-git from AUR"
mkdir .cache
Expand Down

0 comments on commit d653ed3

Please sign in to comment.