Exclude .tox subdir when building documentation 62/120162/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Fri, 2 Apr 2021 11:54:42 +0000 (13:54 +0200)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Fri, 2 Apr 2021 12:49:38 +0000 (14:49 +0200)
".tox" subdirectory is needlessly linted by doc builder. Ignoring
it decreases the warnings from 48 to 5 and shortens doc generation
time.

Change-Id: Ieab78788e8d4a172179c3d597ce34c3f6fbe64d2
Issue-ID: INT-1900
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
docs/conf.py

index 2e41ab4..b351570 100644 (file)
@@ -27,5 +27,7 @@ intersphinx_mapping['onap-cli'] = ('{}/onap-cli/en/%s'.format(doc_url) % branch,
 
 html_last_updated_fmt = '%d-%b-%y %H:%M'
 
+exclude_patterns = ['.tox/**']
+
 def setup(app):
     app.add_css_file("css/ribbon.css")