You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2023/02/04 19:11:35 UTC

[couchdb] branch main updated: Use pip3 instead of pip in docs setup

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new 80b68a053 Use pip3 instead of pip in docs setup
80b68a053 is described below

commit 80b68a053bac7eb06affd20fb762a1fafbdce5ef
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Sat Feb 4 12:55:18 2023 -0500

    Use pip3 instead of pip in docs setup
---
 src/docs/README.md | 4 ++--
 src/docs/setup.sh  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/docs/README.md b/src/docs/README.md
index 4168c1536..201bba977 100644
--- a/src/docs/README.md
+++ b/src/docs/README.md
@@ -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
 ```
diff --git a/src/docs/setup.sh b/src/docs/setup.sh
index 4f56b1775..63390833a 100755
--- a/src/docs/setup.sh
+++ b/src/docs/setup.sh
@@ -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