Skip to content

Commit

Permalink
Use pip3 instead of pip in docs setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nickva committed Feb 4, 2023
1 parent 1eef739 commit 80b68a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ You can view the latest rendered build of this content at:

# Building the docs

Install Python3 and pip. Then:
Install Python 3 and pip. Then:

```sh
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ pip3 install -r requirements.txt
$ make html # builds the docs
$ make check # syntax checks the docs
```
Expand Down
4 changes: 2 additions & 2 deletions src/docs/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ if [ ! -f ./.venv/bin/activate ]; then
rm -rf ./.venv
python3 -m venv .venv
. ./.venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip3 install --upgrade pip
pip3 install -r requirements.txt
else
. ./.venv/bin/activate
fi

0 comments on commit 80b68a0

Please sign in to comment.