From 3fd1fe388ee5c7bfe4680ec4584ca7a2d4fa41ce Mon Sep 17 00:00:00 2001 From: Boyan Karatotev Date: Thu, 27 Oct 2022 11:28:23 +0100 Subject: fix(docs): prevent a virtual environment from failing a build sphinx-build is passed a blanket "." to build all docs. However, if a virtual environment is placed within the docs directory, sphinx will try to build it which will fail due to some weird files it has. This excludes the most common virtual environment directories from the build to prevent this. Signed-off-by: Boyan Karatotev Change-Id: Ieeb14cfc5730d21c986611feb0ed379c58dfcae2 --- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index b005fab38..1f4efb65a 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,9 @@ tags # Node.js node_modules/ + +# common python virtual environment directories +.env/ +env/ +.venv/ +venv/ -- cgit v1.2.1