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 17:55:50 UTC

[couchdb] branch update-docs-to-use-pip3 created (now 967a1de09)

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

vatamane pushed a change to branch update-docs-to-use-pip3
in repository https://gitbox.apache.org/repos/asf/couchdb.git


      at 967a1de09 Use pip3 instead of pip in docs setup

This branch includes the following new commits:

     new 967a1de09 Use pip3 instead of pip in docs setup

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: Use pip3 instead of pip in docs setup

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch update-docs-to-use-pip3
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 967a1de097d53a572c0e3a8ec8971e66e46eafa8
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