From d1fe07ab29e70d6dec1ee038900bca9ad5db9af1 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Mon, 23 Aug 2021 17:46:45 +0200 Subject: [PATCH 1/2] Ignore venv and README when building docs This suppresses warnings during the docs build if the venv directory exists. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 881c068d..353415ca 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,7 +36,7 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'venv', 'README.rst'] # -- Options for HTML output ------------------------------------------------- From a8877e9024b6478302ac01702118816cef8e83fd Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Mon, 23 Aug 2021 17:51:40 +0200 Subject: [PATCH 2/2] Remove html static path from Sphinx config Fixes another Sphinx warning --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 353415ca..f870c7be 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,4 +49,4 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +html_static_path = []